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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -