How would you find out the total number of rows in a db2 table?
No Answer is Posted For this Question
Be the First to Post Answer
What is explain in db2?
can i code union in cobol-db2 pgm ?
Generally if I want to select the names starting with c I need to use c% But how could I code to select the data which contains % as a part of data.
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
Explain db2.
What is the use of with ur in db2?
What is nvl in db2?
What are the advantages of using a PACKAGE?
Say CUST Table contains records like: CUSTNO CUSTNAME CUSTLOC 100 ABC SSS 200 XYZ 300 PQR 400 MNO WWW 500 CVV ------------- ------------- Now write a query to retrieve all records with CUSTLOC no data.
How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only)
if suppose i am having an ACCOUNT table with 3 coloumns ACC. NO,ACC. NAME,ACC. AMOUNT . If a unique index is also defined on ACC.NO and ACC.NAME then write a query to retrieve account holders records who have more than 1 ACC.
What is a db2 table?