ORACLE vs SQL Server from text data type point of view -
these days facing problem related text datatype differences between oracle , sql server. more comparing concatenation of chars oracle varchar column sql server.
here condition:
rtrim(num1) || ' ' || rtrim(num2) <> d2.num   and launched oracle.
where num1 & num2 varchar2 data type oracle while num varchar in sql server.
i want condition false but, unfortunately true.
normally, both variables have same value = '7 a' not recognized being same.
i trying manually hardcoded comparison, meaning '7 a' <> d2.num false, because oracle considers values same when comparing rtrim(num1) || ' ' || rtrim(num2) '7 a', oracle consider them different.
does have idea why oracle consider rtrim(num1) || ' ' || rtrim(num2) <> '7 a' true?
 
 
  
Comments
Post a Comment