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 teradata?
What is the syntax for case when statement?
What's the difference between timestamp (0) and timestamp (6)?
What are the different table types that are supported by teradata?
What type of indexing mechanism do we need to use for a typical data warehouse?
How can we check the version of Teradata that we are using currently?
What do you mean by parsing?
There is a column with date in it. If I want to get just month how it can be done? Can I use sub string?
Highlight the points of differences between the database and user in Teradata.
Explain the meaning of Amp?
What tools would you use for that?
What is the use of fallback?
Is multi insert ansi standard?
Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com
What is meant by Teradata Gateway?