DB2 interview questions – page 8

233 questions. Tap “Show answer” to check yourself.

Advertisement
  1. How to enter in xpediter?

  2. Describe the elements of the SELECT query syntax. SELECT element FROM table WHERE conditional statement

  3. How do I create a table MANAGER ( EMP#, MANAGER) where MANAGER is a foreign key which references to EMP# in the same table? Give the exact DDL.

  4. How many clustering indexes can be defined for a table?

  5. What are the contents of a DCLGEN?

  6. Why use RUNSTAT Utility?

  7. What is the difference between off-line back up and on-line back up in ibm db2 udb?

  8. What is the soft code for deadlock ?

  9. How do I handle -911 (deadlock) error in a db2 program sothat the program will never abend?

  10. Wht happens if we close cursor with cursor with hold option?

  11. I have 1000 rows in a db2 table.I want to update first 100records,How do I do it?

  12. How do you fetch current date in normal cobol pgm and incobol-db2 pgm?

  13. Advertisement
  14. What is the difference between IN subselects and EXISTS subselect?

  15. The dd name for ksds is dest1 and what is the dd name for alternate index of ksds ?a.dest b.dest1 c.dest1a d.dd1

  16. Select 100 records from million records ?

  17. Delete rules in db2

  18. Db2 restart logic ?

  19. What are the SQL codes u freequently got?

  20. How many partitions are possible in partitioned tablespace?dont say 1-64.a)240b)256c)512d)none

  21. How to compile PL/1 DB2 program? Please provide me details on this process?

  22. What is main use of table space and index object?please its urgent

  23. What is COPY PENDING status?

  24. Explain the function of Data Manager?

Advertisement