When Can you be sure that a query will return only one row?
Answer Posted / shankar
When you use CURSORS in your program.
or
when you use FETCH FIRST (n) ROW ONLY option on your SELECT
statement.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Which components manage deadlocks in db2?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
What are db2 objects?
How to test SQL -911 error while developing COB-DB2 program
How to view db2 table structure?
What is a dbrm in db2?
What is drop table?
Give a brief description of db2 isolation levels?
What is deadlock in db2?
What does sqlcabc has?
what is diffrence b/w file-aid tool and file-aid utility???
How do you concatenate the firstname and lastname from emp table to give a complete name?
How do I create a view in db2?
What are the contents of dclgen?
What do you mean by commit and rollback?