Say CUST Table contains records like:
CUSTNO CUSTNAME CUSTLOC
100 ABC SSS
200 XYZ
300 PQR
400 MNO WWW
500 CVV
-------------
-------------
Now write a query to retrieve all records with CUSTLOC no
data.
Answer Posted / vineet chauhan
no you have to use IS keyword as:
SELECT * FROM CUST
WHERE CUSTLOC IS NULL
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is buffer pool in the db2 database?
What is ibm db2 used for?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
What is cascading rollback?
Why do we use cursor?
What is reorg and runstats in db2?
what is the sqlcode -501
What is an instance database?
what is diffrence b/w file-aid tool and file-aid utility???
How to execute stored procedures?
What is sqlca’s maximum length?
What do you mean by between and in? Is between inclusive of specified range values?
What is check constraint in db2?
What do you mean by rollback?
What is collection in db2 bind?