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
How many types of page locks can be held in db2?
Why db2 is called db2?
What is check constraint in db2?
What is host variable?
Are view updateable?
What is phantom read in db2?
Mention some fields that are a part of sqlca.
How can the duplicate values be eliminated from db2 select?
How to fetch the last row from the table in SQL (db2)?
Is it possible using max on a char column?
What os does db2 run on?
What is the use of db2 optimizer?
Can you tell me how can you find out the # of rows updated after an update statement?
What are the different types of base tables?
What is rebind in db2?