Author: rakesh17684
Subject: Comparing Decimal and CHAR columns
Posted: Thu Oct 20, 2016 2:33 am (GMT 5.5)
Hello,
I am trying to create a query which will fetch me rows which has matching values between 2 columns. Column 1 is declared as DECIMAL(17) and Column 2 is CHAR 15. I tried CAST and SUBSTR but end up with -104. Let me know how to approach this problem.
Thanks
R
_________________
Rakesh
Subject: Comparing Decimal and CHAR columns
Posted: Thu Oct 20, 2016 2:33 am (GMT 5.5)
Hello,
I am trying to create a query which will fetch me rows which has matching values between 2 columns. Column 1 is declared as DECIMAL(17) and Column 2 is CHAR 15. I tried CAST and SUBSTR but end up with -104. Let me know how to approach this problem.
Thanks
R
_________________
Rakesh