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
How many tables can you join in v2r5?
Explain teradata vs. Redshift?
What are the various indexes in teradata?
What do high confidence, low confidence and no confidence mean in explain plan?
In the Primary Index, what is the score of AMPs that are actively involved?
Explain the term 'foreign key' related to relational database management system?
Explain BYNET.
What are the steps involved after the disk manager passes the request?
Mention the procedure via which, we can run Teradata jobs in a UNIX environment.
How would you load a very large file in teradata in general?
Discuss the advantages of using partitioned primary index in a query?
What are the 5 phases in a multiload utility?
Explain Teradata performance tuning and optimization?
What is meant by a node?
When tpump is used instead of multiload?