Archives of the TeradataForum
Message Posted: Tue, 24 Apr 2012 @ 22:55:49 GMT
You can't do this directly in Teradata SQL.
Within a stored procedure, you can build a SQL statement as a character string expression and then execute via CALL SysExecSQL.
Or you can EXPORT the character string expression to a file, then .RUN the export file in BTEQ.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|