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 type of indexing mechanism do we need to use for a typical data warehouse?
How to run a query in teradata?
How to load specific no.of records using bteq, or fastload,or multiload
What is the use of teradata system software?
In the Primary Index, what is the score of AMPs that are actively involved?
What is the syntax for case when statement?
How do you create tables? Exact syntax, and create profiles, users in teradata?
Let us say there is a file that consists of 100 records out of which we need to skip the first and the last 20 records. What will the code snippet?
What is the purpose of joins in teradata?
Define views in teradata with syntax.
What do you mean by tpt in teradata?
What are the different softwares used with their functions in teradata?
What are the steps involved after the disk manager passes the request?
If RDBMS is halted what will you do ?
Name the five phases that come under MultiLoad Utility.