B Supported SQL Syntax and Functions
B.1 Supported SQL Statements
With a few exceptions, the gateway provides full support for Oracle DELETE
, INSERT
, SELECT
, and UPDATE
statements.
The gateway does not support Oracle data definition language (DDL) statements. No form of the Oracle ALTER
, CREATE
, DROP
, GRANT
, or TRUNCATE
statements can be used. Instead, use the pass-through feature of the gateway if you need to use DDL statements against the Teradata database.
See Also:
Oracle Database SQL Language Reference for detailed descriptions of keywords, parameters, and options.
Parent topic: Supported SQL Syntax and Functions
B.1.1 DELETE
See Also:
"Functions Supported by Teradata" for a list of supported functions.
Parent topic: Supported SQL Statements
B.1.2 INSERT
See Also:
"Functions Supported by Teradata" for a list of supported functions.
Parent topic: Supported SQL Statements
B.1.4 UPDATE
See Also:
"Functions Supported by Teradata" for a list of supported functions.
Parent topic: Supported SQL Statements
B.2 Oracle Functions
All functions are evaluated by the Teradata database after the gateway has converted them to Teradata SQL.
Parent topic: Supported SQL Syntax and Functions
B.2.1 Functions Not Supported by Teradata
Oracle SQL functions with no equivalent function in Teradata are not supported in DELETE
, INSERT
, or UPDATE
statements, but are evaluated by the Oracle database if the statement is a SELECT
statement. That is, the Oracle database performs post-processing of SELECT
statements sent to the gateway.
If an unsupported function is used in a DELETE
, INSERT
, or UPDATE
, statement, the following Oracle error occurs:
ORA-02070: database db_link_name does not support function in this context
Parent topic: Oracle Functions
B.2.2 Functions Supported by Teradata
The gateway translates the following Oracle database functions in SQL statements to their equivalent Teradata functions:
Parent topic: Oracle Functions
B.2.2.1 Arithmetic Operators
Oracle | Teradata |
---|---|
|
|
|
|
|
|
|
|
Parent topic: Functions Supported by Teradata
B.2.2.2 Comparison Operators
Oracle | Teradata |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parent topic: Functions Supported by Teradata
B.2.2.3 Group Functions
Oracle | Teradata |
---|---|
|
|
|
|
|
|
|
|
|
|
Parent topic: Functions Supported by Teradata
B.2.2.4 String Functions
Oracle | Teradata |
---|---|
|
|
Parent topic: Functions Supported by Teradata
B.2.2.5 Other Functions
Oracle | Teradata |
---|---|
|
|
|
|
|
|
|
|
|
|
Parent topic: Functions Supported by Teradata