Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8556

Query - Issue using LIKE in where clause

$
0
0

Hi Experts,

 

I have facing issue while using Like in a query.

Please see the below scenario. I an trying to JOIN the two table using the mentioned fields. However since the values in the fileds isn't exactly same, I want to use LIKE to join them.

 

Table NameField NameData TypeField value
FCI_CS_SCORE_ATTRRFX_SCORER_OBJECT_NAMEVARCHAR(120)Jane Rux
ODP_TMP_ESO_CSSCORER_NAMEVARCHAR(360)Jane Rux (jrux)

 

I have tried below option but it's not working.

1. T1.SCORER_NAME LIKE T2.RFX_SCORER_OBJECT_NAME%

2.T1.SCORER_NAME LIKE T2.RFX_SCORER_OBJECT_NAME'%'

 

Can soemone please tell me how to use LIKE here or any other OPERAND that may help here.

 

Regards

Praveen


Viewing all articles
Browse latest Browse all 8556

Trending Articles



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