How can we load single row of data into teradata database.
please give me the process.
Answer Posted / yuvaevergreen
BTEQ or multiload(loaded tables) or fastload (empty table)
can be used to load a single row. But BTEQ would be a good
option if you load a single row from a file.Below is a example.
//STEP1 EXEC PGM=BTQMAIN
//LOGON DD DSN=TEST.LOGON(DEVLOGON),DISP=SHR
//SYSIN DD DSN=TEST.PARMLIB(BTEQ1),DISP=SHR
//*TEST.PARMLIB(BTEQ1)
BTEQ MAINFRAME IMPORT SCRIPT EXAMPLE – DATA MODE
.SESSIONS 1
.RUN FILE LOGON
.IMPORT DATA DDNAME=REPORT
REPEAT *
USING
EMP_NO (INTEGER)
INSERT INTO EMPLOYEE
VALUES
(:EMP_NO);
.QUIT;
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is the multi-insert?
What are the enhanced features in teradata v2r5 and v2r6?
What is collect statistics?
i learn teradata,it is so intersting,now i want teradata certifications ,so any 1 help me to get teradata certifications TD 12 ? email:kdcrazyy@gmail.com
Which is more efficient group by or distinct to find duplicates?
In BTEQ, how are the session-mode parameters being set?
What is the primary index in teradata?
Why does varchar occupy 2 extra bytes?
What are the uses of bynets in multi-node systems?
What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?
Hi Friends, Please send me Teradata Materials for certifications Thanks in advance !!
Can you connect multiload from ab initio?
What are the different design perspectives used in teradata?
What is meant by a Clique?
What are the uses of client software involved in teradata?