Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the full forms of spufi and dclgen and why are they used?

1025


How to check last update on table in db2?

1004


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1034


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

1050


What is the use of commit in db2?

1006


Explain how can you do the explain of a dynamic sql statement?

1066


What are host variables in db2?

993


What is commit in db2?

998


List some fields from sqlca?

1004


What is an instance in db2?

987


Highlight all the advantages that are attached to a package.

1075


What is db2 command?

965


can we view the access paths created by dbrm ? how ? thx

6980


What happens in bind step in a db2 program?

916


Explain about rct.

1026