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
Mention a few of the ETL tools that come under Teradata.
What does Amp contain and what are all the operations that it performs?
What is meant by a Clique?
What are the functions involved in shared information architecture?
what is object level locking ? where do appear this type of locking ?
What are teradata utilities?
What are the newly developed features of Teradata?
Explain the types of join supports by teradata?
What is meant by a Virtual Disk?
Explain the term 'database' related to relational database management system?
Can we collect statistics on table level?
What is called partitioned primary index (ppi) and discuss the advantages of using it in a query?
What is the difference between union and union all in teradata?
Explain BYNET.
Difference between stored procedure and macro?