Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6791109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:48:22+00:00 2026-05-26T17:48:22+00:00

Following up on my previous post Link here , the other challenge we are

  • 0

Following up on my previous post Link here, the other challenge we are now facing is find the best match for an Address field [ADDR_LINE_1, ADDR_LINE_2, CITY, STATE, ZIP].

We want to return all the records in the database that would be a possible match to an incoming Address record[from the file]. The scenario is:

Following are 2 records in the database;

ADDR_LINE_1,        ADDR_LINE_2       , CITY       , STATE, ZIP
001 Chestnut Avenue, Apt 100          , Indiana     , IN  , 9999
Apt 100            , 001 Chestnut Ave., Indianapolis, IN  , 9999

For an incoming record, as follows

ADDR_LINE_1,        ADDR_LINE_2, CITY        , STATE, ZIP
1 Chestnut Avenue,   Apt 100   , Indiana     , IN   , 9999

I want to detect the record as an existing record and list the both of the above possible matches.

[Note:] The order of the database entries are interchanged, but still should be listed as a possible match.

Can anyone please provide suggestions as to how I can go about it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T17:48:23+00:00Added an answer on May 26, 2026 at 5:48 pm

    Depending on the Oracle version, you may be able to use the UTL_MATCH package to generate a similarity score and then fiddle with what threshold score seems reasonable to you. For example, there is a 96% similarity between the string ‘001 Chestnut Avenue’ and the string ‘1 Chestnut Avenue’ using the Jaro-Winkler algorithm

    SQL> select utl_match.jaro_winkler_similarity( '001 Chestnut Avenue',
      2                                            '1 Chestnut Avenue' )
      3    from dual;
    
    UTL_MATCH.JARO_WINKLER_SIMILARITY('001CHESTNUTAVENUE','1CHESTNUTAVENUE')
    ------------------------------------------------------------------------
                                                                          96
    

    Obviously, you’d likely need to do some work to identify what weighting to give various fields– presumably, for example, you’d have a higher threshold to match on the city which is likely to be relatively standardized than on the second line of the address.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Following on from a previous post , I'm trying to update a database field
Related to my previous post here , I have the following SELECT : SELECT
in my previous post I was asking how to generate numbers following a normal
Following on from a previous question , I am creating a symbolic link on
Here's a link to my previous question on this same block of code with
In a previous post ( Don't show this if the url contains the following
Following on from a previous question, ( previous question here ), the problem I'm
Based on my previous post, I came up with the following code. I'm sure
I was following a previous post on this that says: For LinkedList get is
Following on from a previous post , I've found I'm totally stuck. I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.