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 |
Explain correlated sub-queries.
What is scrollable cursor in db2?
Assuming that a site's standard is that pgm name = plan name, what is the easiest way to find out which Will precompile of an DB2-COBOL program bomb, if DB2 is down?
How can you classify the locks in db2?
database DSNDB01 means a.db2 catalog b.db2 directory c.BSDS d.active logs answer with reason please
Define sqlca.
What is a storage group (stogroup)?
when we are trying to update db2 rows. if the program abends . how we will know that the last successful update row was
what are stage one indexable predicates?
what needs to be done if a table is in copy pending / check pending status?
What is RUNSTATS?
How to check table size in db2 sap?