Why select is not preferred in embedded sql programs?
How to fetch the last row from the table in SQL (db2)?
How can you count the number of rows from a table tab?
How would one remove old reorg information from the DB2 catalog?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
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 error I will get if my select query gives multiple row while executing a Cobol-DB2 program.How can I solve it without using a cursor.
4 Answers Cap Gemini, Verizon,
What is db2 stogroup?
What is host variable in db2 cobol?
Can we update view in db2?
What are foreign keys in db2?
query to just fetch first matching row and stop execution. once one matching row is found ..no more records should be checked.. if the first record is matching.. the query must stop
What is declare cursor?