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
How to rename a table in DB2 ?
What is concurrency?
What are concurrency issues?
What is temporal table in db2?
by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?
What is blu acceleration in db2?
What is precompiler in db2?
Why do we use cursor?
What is view db2?
How does a cursor work?
How can we read records for specific member in CL? AND rpg?
What action db2 takes when a program aborts in the middle of a transaction?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
How to create db2 table in mainframe?
What is phantom read in db2?