![]() ![]()
|
a) Converting the RIGHT function.
SQLWays converts the Microsoft SQL Server RIGHT function to the Oracle SUBSTR function with negative length parameter.
TABLE 48. Converting RIGHT function Microsoft SQL Server OracleRIGHT (`ABCDEF',5)
SUBSTR (`ABCDEF',-5);
b) Converting the LEFT function.
SQLWays converts the Microsoft SQL Server LEFT function to the Oracle SUBSTR function with the start position 1 and the same length as defined in the LEFT function.
TABLE 49. Converting LEFT function Microsoft SQL Server OracleLEFT (`ABCDEF',5)
SUBSTR (`ABCDEF',1,5);
|
Ispirer Systems http://www.ispirer.com ispirer@ispirer.com |
![]() ![]()
|