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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which component is used to execute the sql statements?

1147


How can you classify the locks in db2?

1135


What is syscat in db2?

1072


Which isolation level provides highest data integrity?

1190


How would you find out the total number of rows in a db2 table?

1095


What are union and union all?

1040


What is an instance database?

1098


What do you mean by cursor?

1036


What is bind plan?

1097


Is schema the same as database?

1107


What is meant by dclgen?

1174


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1223


What is the max length of sqlca?

1273


What is ibm db2 used for?

1133


What is netezza database?

1082