Answer Posted / ankit.:-)
if u want to fetch first 100 go for
select * from tablename fetch only 100 rows;
this will select only 100
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Why db2 is called db2?
I HAVE 500 ROW TO UPDATE I WOULD LIKE TO USE ROLLBACK ALONG WITH COMMIT.WHAT IS THE SYNTAX TO CODE COMMIT AND ROLLBACK FOR EVERY 100 ROWS.AND HOW THE CURSOR ROLLBACK TO THE LAST COMMITTING POINT.
Give the name of some fields form sqlca.
On which levels locks can be applied?
What is the role of the data page in the db2 database?
What is a buffer in memory?
What is dbrm?
What is null indicator in db2?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?
What is concurrency?
What is db2 command?
Mention the different locking levels that are available in db2.
Comment whether the cursor is closed during commit or not.
Why do we bind in db2?