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 a clique?
Can we have an unconnected lkp to lookup a db2 record against a teradata record? Doesnt seem to work. I could be wrong
Why managing the data is important?
What is a level of granularity of a fact table?
What do high confidence, low confidence and no confidence mean in explain plan?
What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?
Describe primary index in teradata. And what are the available primary index types?
Difference between multiload and tpump?
What interface is used to connect to windows based applications?
How is MLOAD Client System restarted after execution?
What are the enhanced features in teradata v2r5 and v2r6?
Explain how spool space is used.
What are teradata utilities?
What do you mean by caching in teradata?
What are the various etl tools in the market?