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
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
What is db2 purescale?
How to find schema of a table in db2?
What is a db2 schema?
What is the advantage in De-normalizing tables in DB2?
How do you simulate the explain of an embedded sql statement in spufi/qmf?
What is the connection string to connect to the DB2 Database ?
What does sqlcabc has?
How to access db2 tables in mainframe?
What is a bind card?
What do you mean by cursor?
What are the rules for db2 programming?
What is difference between rollback and commit?
Discuss about db2 bind?
Explain about rct in db2?