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 are the various reporting tools in the market?
Highlight the limitations of TPUMP Utility.
What is the meaning of Caching in Teradata?
Difference between stored procedure and macro?
Difference between inner join and outer join?
Discuss the advantages of using partitioned primary index in a query?
What are normalization, first normal form, second normal form and third normal form?
Give a justifiable reason why Multi-load supports NUSI instead of USI.
How to select first n records in teradata?
Explain the advantages of partitioned primary index in a query?
Can any one explain me the difference between BTEQ and MLOAD,TUMP. All canbe used for same purpose but still differnt methods. why ?
Describe the between keyword in teradata?
What is stored procedure in teradata?
Can you connect multiload from ab initio?
What is meant by a Channel Driver?