Hi All,
Can anybody look into this below query? I’m running these below queries on Oracle SQL developer.
First two queries are working fine, but when I join using INNER JOIN condition it is not showing the ITEM/PROD_ID which is less than 6 digits.
It will display the rows which is having 6 digit Item & Prod_id but if it is < 6 digits those rows are not displaying while joining.
Thanks in advance...
Can anybody look into this below query? I’m running these below queries on Oracle SQL developer.
Code:
SELECT * FROM BATCH.ITEM@SCPOREADDB WHERE ITEM LIKE '%82128%'
Code:
SELECT * FROM EXCEED.CRECOVER@EXERPTDB206 WHERE PROD_ID LIKE '%82128%'
Code:
SELECT C.PROD_ID, I.UDC_BDMNAME, I.ITEM FROM EXCEED.CRECOVER@EXERPTDB206 C INNER JOIN BATCH.ITEM@SCPOREADDB I ON TO_CHAR(TRIM(C.PROD_ID)) = TO_CHAR(TRIM(I.ITEM)) AND I.ITEM LIKE '%82128%'
Code:
Where PROD_ID is of type CHAR(18bytes) and ITEM is of type VARCHAR2(50Char)
Thanks in advance...
Comment