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


Please Help Members By Posting Answers For Below Questions

What is the multi-insert?

604


What are the enhanced features in teradata v2r5 and v2r6?

681


What is collect statistics?

581


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

1761


Which is more efficient group by or distinct to find duplicates?

634






In BTEQ, how are the session-mode parameters being set?

637


What is the primary index in teradata?

579


Why does varchar occupy 2 extra bytes?

601


What are the uses of bynets in multi-node systems?

581


What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?

650


Hi Friends, Please send me Teradata Materials for certifications Thanks in advance !!

1689


Can you connect multiload from ab initio?

634


What are the different design perspectives used in teradata?

543


What is meant by a Clique?

582


What are the uses of client software involved in teradata?

531