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 to take backup of table in db2?
can all users have the privilage to use the sql statement select * (dml)?
What does db2 stand for?
What is the use of predicate?
Why select is not preferred in embedded sql programs?
What is lock escalation in db2?
How do I create a view in db2?
How can record locking be achieved in those DB2 versions which do not support it?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
Explain the contents that are a part of dclgen.
Outputs of explain are with matchcols = 0. What does this signify?
How to check table size in db2 sap?
Give a brief description of db2 isolation levels?
Why do we bind in db2?
What is null in db2?