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

Teradata TPT Script - response (21) by feinholz

$
0
0
Well, you could do this: DEFINE JOB <name> (       %INCLUDE '<schema file name>';       . . . . ); However, the DEFINE SCHEMA syntax I gave you should work just fine. And if your schema matches the layout of the table, and you are doing a SELECT * against that table, you can let TPT just get the schema for you with the simplified syntax. Just make use of the operator templates. You can do: DEFINE JOB <name> (    APPLY    TO OPERATOR ($FILE_WRITER)    SELECT * FROM OPERATOR ($EXPORT); );

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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