Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Tue, 24 Apr 2012 @ 22:55:49 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Variable name for a new or existing table?
 
From:   Pluebell, Fred

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.



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020