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 packages.
Hi Team, Please tell me, If i don't declare the cursor in the program and i have given open and fetch and close, then what error will get.
What are some SQL aggregates and other built-in functions?
What is the physical storage length of timestamp data type?
What is a DB2 plan?
wht happens if we close cursor with cursor with hold option?
How can you find out the # of rows updated after an update statement?
what are the max. & min. no. of partitions allowed in a partition tablespace?
What is meant by explain?
how can u nderstand the sql stmts executed successfully or not ?
Explain various types of locks in db2?
How do I import a csv file into db2?