| Other DB2 Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What will the DB2 optimizer do? | | 1 |
| If a table has a column "dept" (declared to have nulls) and
there are 10 rows in the table of which 3 have a null value
in the dept column, what will select count(*) and select
count(distinct dept) return? | | 3 |
| quary for
1> fetch last record
2> fetch in reverse order
3> fetch last 5 row
4> fetch second last record (their is no primary key)
i think concept of count can be use for this in 4th | | 5 |
| I need to view the number of tables existing under one
particular Owner. Is it possible? If so, pl give the SQL
query for this? | | 3 |
| Can we use select * statement in cobol program without
giving field names ??? | Zensar | 3 |
| what's the error code for Unique Index Violation? | | 2 |
| What is the difference between TYPE 1 index & TYPE 2 index | | 1 |
| what needs to be done if a table is in copy pending / check
pending status? | Xansa | 4 |
| What is the difference between static and dynamic SQL? | | 1 |
| What is index cardinality? | | 1 |
| Can DASD types assigned to storage groups be intermixed
(i.e., 3350s and 3380s)? | | 1 |
| How do you declare a host variable (in COBOL) for an
attribute named emp-name of type VARCHAR(25) ? | | 2 |
| I HAVE 2 TABLES ONE IS EMP_TABLE AND ANOTHER
DEPT_TABLE.EMP_TABLE CONTAINS NAME,DEPTNO,DEPTNAME,LOCATION
AND DEPT_TABLE CONTAINS DEPTNO,DOJ(DATE OF JOINING).I WANT
TO DISPLAY NAME,DEPTNAME,DOJ AND WHO ARE JOINED BETWEN 01-
JAN-2007 TO 01-JAN-2008? | Perot-Systems | 5 |
| I am getting a error multiple row fetched while executing a
Cobol-DB2 program.How can I solve it without using a cursor. | | 6 |
| What is DCLGEN ? | | 2 |
| What is a lock? | | 1 |
| What are the different methods of accessing db2 from tso?
How is the connection established between TSO & DB2? | Tech-Mahindra | 3 |
| What are the four lockable units for DB2? | | 1 |
| Which DB2 catalog tables are used to produce a list of
table column by table for all tables in a database? | | 1 |
| what is the Foreign key? explain?
| | 2 |
| |
| For more DB2 Interview Questions Click Here |