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


Please Help Members By Posting Answers For Below Questions

How is deadlock resolved?

652


Is it possible using max on a char column?

613


What is page size in db2?

565


How can you classify the locks in db2?

636


Mention the definition of cobol in varchar field.

700






I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1938


What is a db2 cursor?

626


What is db2 bind process?

761


In case if at some point of time db2 is down, would that impact the pre-compilation process of a db2-cobol program?

583


What is a storage group (stogroup)?

778


Is db2 relational database?

574


what is diffrence b/w file-aid tool and file-aid utility???

4183


Can one database have multiple instances?

583


What is null indicator in db2?

606


Which isolation level provides maximum concurrency?

668