how can u understand the end of the table ?
Answer / amarnadh reddy
If we set SQLCODE=100 means end of the table.
EX: if sqlcode=100
Display end of the table
end-if.
| Is This Answer Correct ? | 9 Yes | 1 No |
How do you simulate the explain of an embedded sql statement in spufi/qmf?
Can there be more than one cursor open for any program?
How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause)
if there is a table with huge number of records and if i want to extract only first 3 records from the table, what query i have to provide to retreive first 3 records
What DB2 Catalog column tell you when an index needs table reorganized ?
Is ibm db2 open source?
Is it mandatory to use DCLGEN? If not, why would you use it at all?
What are the various isolation levels possible?
When Can you be sure that a query will return only one row?
How Plan is created while executing the query using SPUFI?
I have two tables A and B. Both tables are connected with SSN number as foreign key. I want to retrieve a column data from B table. How will you write a query?
Usually, which is more important for DB2 system performance - CPU processing or I/O access?