NVARCHAR changed to NCHAR VARING.
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
The row_count function is supported for affected row counting.
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
ROW_COUNT identifies the number of rows associated with the previous SQL statement. If the previous SQL statement is a DELETE, INSERT, or UPDATE statement, ROW_COUNT identifies the number of rows that qualified for the operation.
System tables _V_SYS_COLUMNS is replaced with information_schema.columns.
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
Column mapping:
Return value should be integer for date subtraction.
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
The SQL TRANSLATE() function replaces a sequence of characters in a string with another sequence of characters. The function replaces a single character at a time.
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
If it contains a single parameter, just execute the UPPER.
UPPER(param1)
If it contains two parameters, throw error.
If it contains three parameters, TRANSLATE(1st param, 3rd param, RPAD(2nd param, LENGTH(3rd param), ' ')).
If it contains four parameters, TRANSLATE(1st param, 3rd param, RPAD(2nd param, LENGTH(3rd param), 4th param)).
NATIONAL CHARACTER VARYING ( ANY )
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
CHARACTER VARYING ( ANY )
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
Numeric (ANY)
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
TRANSACTION_ABORTED
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
END statement specified without semicolon (;) is migrated as follows:
END /
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
CURSOR
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|
SELECT result assign into variable.
Netezza Syntax |
Syntax After Migration |
||||
---|---|---|---|---|---|
|
|