![]() ![]() ![]() |
Ispirer SQLWays Database Migration Software
Conversion of Dynamic Statement Execution from Microsoft SQL Server to Oracle
The EXECUTE sp_executesql statement is used to execute dynamic SQL statements with parameters in Microsoft SQL Server. The second string parameter of EXECUTE sp_executesql describes the dynamic SQL statement parameters and their types.
The EXECUTE IMMEDIATE statement is used to execute dynamic SQL statements with parameters in Oracle. Input parameters are marked as :N, where N is the number of the parameter in the USING clause.
SQLWays converts the Microsoft SQL Server EXECUTE sp_executesql statement to Oracle EXECUTE IMMEDIATE. SQLWays changes input parameters in MSQL dynamic statements to the appropriate Oracle syntax. SQLWays replaces parameter names in Microsoft SQL Server dynamic string to the number of the parameter when converting to Oracle.
TABLE 42. Conversion of Dynamic Statement Execution from Microsoft SQL Server to Oracle Microsoft SQL Server Oracle
![]() ![]() ![]() |