Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

How can I pass arrays to teradata 13 stored procedures? - response (1) by adtrombley

$
0
0
I am trying to create a user defined variable that i can later pass and invoke the names of tables, in SAS we use an &name. to pull it in and %Macro; to mend it and invoke it.  How would I do this in Teradata? Would I need to create a function like this?    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!      

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>