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
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
Can you tell me how can you find out the # of rows updated after an update statement?
What is db2? Explain.
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
How can you classify the locks in db2?
How does cobol compile db2 program?
How do you eliminate duplicate values in db2?
What is a db2 collection?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
What is the maximum length of sqlca?
What is check constraint in db2?
What is table space in db2?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
How is the value function used?
How does a cursor work?