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
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 |
How to resolve -407 sql code in DB2?
Explain the function of data manager.
What is schema in db2?
what is the responsibility of the construction superintendent
How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in WHERE clause)
What is the difference between "db2ilist" and "db2 get instance" commands in DB2 Database Server?
What are the isolation levels possible ?
What is the advantage in De-normalizing tables in DB2?
When would you prefer to use VARCHAR?
Is db2 free?
How many buffer pools are available in db2?
what are the max. & min. no. of partitions allowed in a partition tablespace?