Answer Posted / sriram
EXEC-SQL
SELECT 1
INTO :X
FROM TAB1
END-EXEC
X is defined as s9(4) comp value zeroes
So, if there is a row in the table (i.e. the table is not
empty), 1 gets moved to variable X.
Did not have resources to run the query and validate ,
Please let me know if I am wrong
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Differentiate between cs and rr isolation levels? Where do you specify them?
How to create db2 table in mainframe?
What is db2 purescale?
What is null in db2?
What is netezza database?
What is precompiler in db2?
Define data page.
What does runstats do in db2?
Outputs of explain are with matchcols = 0. What does this signify?
What is the maximum length of sqlca?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
can we view the access paths created by dbrm ? how ? thx
What is difference between rollback and commit?
Explain about cursor stability?
How to find schema of a table in db2?