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 db2 connect?
What is reorg and runstats in db2?
Is db2 a mainframe?
What is db2?
what is the sqlcode -501
Define check constraint.
What is database reorganization?
Discuss about db2 bind?
What is the role of the data page in the db2 database?
What is the difference between dbm cfg and db cfg file in db2 ?
Why select is not preferred in embedded sql programs?
What does reorg do in db2?
What is clone table?
What are the bind parameters ibm db2?
What is null value in db2?