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...


in column y record
abc.v
abc.s
xyz.j
abc.h
i wan only abc columns
how to retrieve thi records

Answers were Sorted based on User's Feedback



in column y record abc.v abc.s xyz.j abc.h i wan only a..

Answer / madhu t

select Y from <table> where substr(y,1,3) = 'abc'

we can achieve this by using substring function in sql.
SUBSTR(column-name,starting-position,length)

Is This Answer Correct ?    12 Yes 0 No

in column y record abc.v abc.s xyz.j abc.h i wan only a..

Answer / ekalavya

SELECT Y
FROM TABLEA
WHERE Y LIKE 'abc%';

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More DB2 Interview Questions

How to resolve -407 sql code in DB2?

9 Answers   Cap Gemini,


Explain the function of data manager.

0 Answers  


What is schema in db2?

0 Answers  


what is the responsibility of the construction superintendent

0 Answers   Almco,


How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause)

2 Answers  


What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?

0 Answers   MCN Solutions,


What are the isolation levels possible ?

3 Answers  


What is the advantage in De-normalizing tables in DB2?

0 Answers  


When would you prefer to use VARCHAR?

3 Answers  


Is db2 free?

0 Answers  


How many buffer pools are available in db2?

2 Answers  


what are the max. & min. no. of partitions allowed in a partition tablespace?

2 Answers   IBM,


Categories