How can we load single row of data into teradata database.
please give me the process.

Answers were Sorted based on User's Feedback



How can we load single row of data into teradata database. please give me the process...

Answer / 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

How can we load single row of data into teradata database. please give me the process...

Answer / subbareddy kake

You can use Insert statement for loading one row into
Database

Is This Answer Correct ?    2 Yes 0 No

How can we load single row of data into teradata database. please give me the process...

Answer / tdguy

bteq could be a better option when it comes to loading a
single row. Other utilities are unnecessary as those are
designed for mass loading and unloading.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Teradata Interview Questions

Differentiate database data and data warehouse data?

0 Answers  


Explain the term 'foreign key' related to relational database management system?

0 Answers  


List out some of the primary characteristics of teradata.

0 Answers  


What is partitioned primary index (ppi)?

0 Answers  


Highlight the points of differences between the database and user in Teradata.

0 Answers  


Why do Hash joins usually perform better than Merge Joins?

1 Answers  


what are the file sizes in your project?

2 Answers  


What are the various indexes in teradata? How to use them? Why are they preferred?

0 Answers  


What are default access rights in teradata? What explicit right can be given to a user?

0 Answers  


Why do you get spool space errors? How do trouble-shoot them?

0 Answers  


If table have access lock.In the same table write lock is posible or not?

1 Answers  


Hi All, can anyone tell me how many types of Skew exists? whats the difference between amp skew,data skew,cpu skew, io skew, delta amp cpu ?

2 Answers  


Categories