DB2 interview questions – page 7

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

Advertisement
  1. What techniques are used to retrieve data from more than one table in a single SQL statement?

  2. What is difference between Collection and Version?

  3. What is QUIESCE?

  4. Explain the use of the WHERE clause. WHERE is used with a relational statement to isolate the object element or row.

  5. When can an insert of a new primary key value threaten referential integrity?

  6. What is a NULL value? What are the pros and cons of using NULLS?

  7. Can u see s9(4)comp3 data?

  8. What does it mean if the null indicator has -1, 0, -2? ?

  9. What is cursor stability?

  10. Where is the output of EXPLAIN stored? ?

  11. Initial position of cursor of the exucuton of open statements?

  12. What will happened .if the file is open in extend mode and corresponding is equal to old in jcl?

  13. Advertisement
  14. What are the various locks available?

  15. What is lock escalation?

  16. What is FREEPAGE and PCTFREE in TABLESPACE creation?

  17. How does Db2 use multiple table indexes?

  18. What is the meaning of underscore ( ?_? ) in the LIKE statement? ?

  19. When you COMMIT, is the cursor closed?

  20. What is the roll of INDEX in a query?

  21. What are foreign keys?

  22. What is IMAGECOPY ?

  23. Suppose I have a program which uses a dynamic SQL and it has been performing well till now. Off late, I find that the performance has deteriorated. What happened?

  24. Consider the employee table with column PROJECT nullable. How can you get a list of employees who are not assigned to any project?

  25. If I have a view which is a join of two or more tables, can this view be updateable?

  26. Advertisement
  27. How do you insert a record with a nullable column?

  28. What is ACQUIRE/RELEASE in BIND?

  29. If the base table underlying a view is restructured, eg. attributes are added, does the application code accessing the view need to be redone?

  30. How to read last record in vsam file.,I don't know how many records are there?

  31. What are PACKAGES ? ?

  32. What is a precompiler?

Advertisement