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

Updating data in a table for multiple records from a file using Import - response (4) by dnoeth

$
0
0

Hi Kumar,
based on your description i thought you already know how to import using SQLA/BTEQ.
 
Assuming your data is in a readable delimited format:
In SQLA set the delimiter to the correct char (in tools - options - export/import) and use question marks as you showed in your query.
And in BTEQ
.import vartext 'your delimited char' file = yourfile.txt;
USING a (varchar(xx))), b (varchar(xx)), c (varchar(xx))

MERGE INTO KUMAR_TEST USING

VALUES(:a,:b,:c) 

...

 

 

Dieter


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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