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 / madhuri tungal
In the CUSTLOC field the no data is represented by SPACES
but not by .... i.e NULL VALUE
Hence the query would be,
SELECT * FROM CUST WHERE CUSTLOC IS SPACES;
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Is ibm db2 open source?
What is the result of open cursor statement?
What are the bind parameters ibm db2?
How to create backup table in db2?
What is copy pending and check pending in db2?
What does reorg do in db2?
What is load utility in db2?
What is rct?
What is the role of schema in the db2 database?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is the meaning concurrency in the db2 database?
What is universal database?
What do you mean by storage group (stogroup)?
How can you find out the # of rows updated after an update statement?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?