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 is the use of virtual processor connectivity in teradata?
What is a node in teradata?
What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?
What do you mean by parsing?
What is a three-tier data warehouse?
What are the 5 phases in a multiload utility?
What is the use of having index on table?
Explain and compare pros and cons of snow flake schemas?
List out some of the primary characteristics of teradata.
Mention the procedure via which, we can run Teradata jobs in a UNIX environment.
what are the uses of fact table and dimension table in banking project?
What is the maximum number of dml can be coded in a multiload script?
What is logical data model?
What are the different softwares used with their functions in teradata?
How to run a query in teradata?