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
When reorg is used?
What is a cursor in programming?
Define sqlca.
What language is db2 written in?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
What is the reason behind not using select * in embedded sql programs?
What is iseries database?
What is dpf in db2?
What db2 400?
What is consistency token in db2?
What is cursor with hold option in db2?
What is dbrm?
What are host variables in db2?
What is difference between alias and synonym in db2?
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?