BTEQ
Translation references to convert Teradata BTEQ files to Snowflake SQL
Last updated
Translation references to convert Teradata BTEQ files to Snowflake SQL
Last updated
Basic Teradata Query (BTEQ) is a general-purpose, command-based program that enables users on a workstation to communicate with one or more Teradata Database systems and to format reports for both print and screen output.
For more information regarding BTEQ, check .
The BTEQ content is relocated within an EXECUTE IMMEDIATE
block of to transfer the BTEQ script functionality to Snowflake SQL executable code.
All the DML and DDL statements inside BTEQ scripts are supported by SnowConvert and successfully translated to Snowflake SQL. The commands that do not have support yet, or do not have support at all, are being marked with a warning message and commented out.
SnowConvert does not support the migration of shell scripts, to migrate the BTEQ code please isolate it in a BTEQ file and supply it as input for the tool.
Since BTEQ is a command-based program, there may be some commands in your input code that do not have a hundred percent functional equivalence in Snowflake SQL. Those particular cases are identified, marked with warnings in the output code, and documented in the further pages.
SnowConvert supports the migration of BTEQ code with Bash Variable Placeholders used for shell scripts, these placeholders will be migrated to its SnowSQL equivalent and will be added to the code. Please consider the following when migrating code with these placeholders:
SnowSQL with variable substitution enabled is required to execute the migrated code, for more information on how to use SnowSQL please check and the L.
: Pending Functional Equivalence Review.
: Bash variables found, using Snow SQL with variable substitution enabled is required to run this script.
: Statement Not Supported.