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 is buffer pool and list some of them?

1046


what is a corelated subquerry?

1130


DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?

2862


What is meant by union and union all?

1014


What happens in bind step in a db2 program?

978


How many databases can be created inside an instance in db2 ?

1043


Highlight all the advantages that are attached to a package.

1124


What is load utility in db2?

1189


How would the varchar column remarks defined?

1093


what is the sqlcode -501

13173


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3584


How can you quickly find out the # of rows updated after an update statement?

1054


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

2074


Is db2 a mainframe?

1053


What is blu acceleration in db2?

1083