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
Answer Posted / romeu viegas
Select ...
FROM ...
WHERE ...
FETCH FIRST 1 ROW ONLY
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How do I add a column to an existing table in db2?
What is the difference between nvl and coalesce?
What is a db2 cursor?
What is the max length of sqlca?
What is dclgen in db2?
When the like statement is used?
What are db2 tables?
What is data manager?
What is dpf in db2?
What is database manager in db2?
What is db2?
What is ibm db2 database?
What is table space in db2?
What is db2 look?
How can deadlocks be resolved?