How do I add a column to a table in db2?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More DB2 Interview Questions

How to solve S0C7 abend with out using DISPlay in 10 mins?

1 Answers   IBM,


In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)

2 Answers  


Suppose we are doing transaction in a table and abend happened in between. Suppose i have completed the transaction upto X rows and I want to start the transaction again where the abend happened. I don't want to do the transaction from the first record. Then what i have to do.

9 Answers   Cap Gemini,


how can we find nth max salary from A table

5 Answers   IBM,


What is check constraint. Explain with example.

0 Answers  






how can u retrieve the data from null values using applicaion program.

3 Answers   TCS,


When the like statement is used?

0 Answers  


What kind of database is db2?

0 Answers  


Where could you look if you had a question about whether a column has been defined as an index?

2 Answers  


Hi , I am posting some interview ques . what is the use of cursors ? what is the diff between select and cursor ? bith are used for data retrival .. rite?

2 Answers   Deloitte,


The only place of VSAM KSDS in DB2 is?

2 Answers   IBM,


How do you select a row using indexes in db2?

0 Answers  


Categories