How do you check for a null value in a db2 column?
Answer Posted / angoca
By querying the catalog
select nulls
from syscat.columns
where tabschema like 'XX%'
and tabname = 'YY'
and colname = 'ZZ'"
Or with the describe command
db2 describe table ZZ.YY
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are packages in db2?
What is deadlock in db2?
Which are the db2 tools to protect integrity of the database?
Give the name of some fields form sqlca.
What is buffer pool in the db2 database?
What is load utility in db2?
What is sqlca’s maximum length?
What db2 400?
Mention the way of highlighting as well as putting a cursor to use in a cobol program.
What is the picture clause of null indicator variable?
Is ibm db2 free?
What is a db2 cursor?
What is with ur in db2?
What is the maximum length of sqlca?
How do I delete a column in db2?