Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User defined variables

Status
Not open for further replies.

adtrombley

Programmer
Nov 20, 2012
1
US
Trying to create a list of table names I can later call (in SAS we use &name. to call it), and %mend at the bottom to invoke it, how do I do this in Teradata?

CREATE FUNCTION input_tables ('TABLE8X ' VARCHAR(20), 'TABLE_8X' VARCHAR(20), 'TABLE_SESSION_8X' VARCHAR(20), 'TABLERL_8X' VARCHAR(20) )
RETURNS VARCHAR(20)
LANGUAGE C
NO SQL
PARAMETER STYLE SQL
EXTERNAL;

appreciate the help!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top