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
What are the contents of a dclmgen?
What does a deadlock mean in DB2?
How do I delete a table in db2?
Is db2 a programming language?
What is explain plan in db2?
What is the physical storage length of time data type?
What is the physical storage length of timestamp data type?
How many databases are there?
What is dclgen (declaration generator)?
What is the default page size of buffer pools?
What is a bind card?
How do I create a view in db2?
What type of database is db2?
What is the difference between using bind () and rebind () methods of naming class?
Is db2 relational database?