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

Using templates for operators provided in TPT - response (2) by nitindixit

$
0
0
Hi Iam pasting a tpt script snippet from TPT User Guide 14.0,  (page - 240) Example 1: Job Script with Simplified Syntax DEFINE JOB PLOAD_JOB DESCRIPTION 'PLOAD JOB' ( /* Use the schema of the TargetTable for TPT_SCHEMA */ DEFINE SCHEMA TPT_SCHEMA DELIMITED @LoadTargetTable; APPLY $INSERT @LoadTargetTable TO OPERATOR ($LOAD [@LoadInstances]) SELECT * FROM OPERATOR ($FILE_READER(TPT_SCHEMA) [@ReaderInstances]); ); Is this snippet wrong? Tablename is present after $INSERT.   Could you tell me about any other way to make TPT script reusable, upto a certain limit.. Thanks Nitin  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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