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
Define predicate?
How to create db2 table in mainframe?
Can there be more than one cursor open for any program?
Explain db2.
What is a db2 schema?
What is the function of logging in the db2 database?
What are the uses of db2 optimizer?
What is the usage of open cursor command?
What is package in cobol db2?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
Discuss about db2 bind?
What are foreign keys in db2?
What is the information associated with sysibm.syslinks table?
How does db2 sample database connect?