Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Fuzzy Search to Find Duplicates in Table

$
0
0

Hi,

I want to find duplicates within a table based on First Name column using Fuzzy Search.

 

Table Tab_001 Definition:

Contact ID  |  First Name

I tried using FUZZY SEARCH in below statement but I get error saying CONTAINS accepts only string as second parameter.

 

Statement:

SELECT A.CONTACTID AS CONTACTID_A,

A.FIRSTNAME,

B.CONTACTID AS CONTACTID_B,

B.FIRSTNAME,

SCORE() AS SCORE

FROM Tab_001 A

INNER JOIN Tab_001 B

ON CONTAINS(A.FIRSTNAME, B.FIRSTNAME, FUZZY(0.7));

 

Error: SAP DBTech JDBC: [8]: invalid argument: The second argument cannot include any column: line 8 col 26 (at pos 230)

 

 

Any suggestions?

Thanks,

Anoop


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>