How to load data to a table?

Showing Answers 1 - 2 of 2 Answers

pradipta

  • Sep 9th, 2005
 

you can use LOAD utility(DSNTIAUL) to load data to DB2 tables.

Azahar

  • Dec 15th, 2005
 

Loading a DB2 table can be done by an utility as mentioned above or u can code a program and insert all the records data from a file by dynamic sql commands validating for all the fields.

Eg:

EXEC SQL                      
    INSERT INTO Table1(field1  ,field2  )           
    values (value1 ,value2)

END-EXEC.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions