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
What is blu acceleration in db2?
What is rebind in db2?
How connect db2 database to datastage?
What does reorg do in db2?
What is database manager in db2?
How do you select a row using indexes in db2?
Explain various types of locks in db2?
What are concurrency issues?
What is meant by union and union all?
What is the role of the data page in the db2 database?
What is rct?
How would you find out the total number of rows in a db2 table?
Give the name of some fields form sqlca.
What is the use of value function?
What is meant by explain?