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

Explain correlated sub-queries.

0 Answers  


What is scrollable cursor in db2?

0 Answers  


Assuming that a site's standard is that pgm name = plan name, what is the easiest way to find out which Will precompile of an DB2-COBOL program bomb, if DB2 is down?

1 Answers  


How can you classify the locks in db2?

0 Answers  


database DSNDB01 means a.db2 catalog b.db2 directory c.BSDS d.active logs answer with reason please

1 Answers  


Define sqlca.

0 Answers  


What is a storage group (stogroup)?

0 Answers  


when we are trying to update db2 rows. if the program abends . how we will know that the last successful update row was

5 Answers   IBM,


what are stage one indexable predicates?

1 Answers  


what needs to be done if a table is in copy pending / check pending status?

5 Answers   Xansa,


What is RUNSTATS?

3 Answers  


How to check table size in db2 sap?

0 Answers  


Categories