![]() ![]() ![]() |
Ispirer SQLWays Database Migration Software
Conversion of Oracle RECORD Variable to Microsoft SQL Server
Since Microsoft SQL Server doesn't support records as type, SQLWays emulates such functionality through use set of distinct variables. For full substitution record variables SQLWays changes definition of record data type, variable declaration with record type, use record variables and use of internal element of record variables.
At first SQLWays converts declaration of variable with record type to set of distinct declaration with corresponding data types. Number and data types of declaring variables are equal with internal element of sources record variable.
Then SQLWays drops definition of record data type.
After that SQLWays looks for use of record variables and converts them as follow:
- If record variable uses without references to internal element then SQLWays converts it's to list of variables which generate by SQLWays for this record variable.
- If record variable uses with references to internal element then SQLWays converts its to corresponding variable which generates by SQLWays.
![]() ![]() ![]() |