Do we have any optinon to search part of integer in DB2 as
we have for character Like,SUBSTR optins?
Answer / s
DIGITS will convert INTEGER to character string
SUBSTR(DIGITS(PARTID),5,1) ='9'
This will extract the 5th character and checks to see if it
is 9.
| Is This Answer Correct ? | 4 Yes | 0 No |
Explain various types of locks in db2?
Can we delete records from view?
How can i install db2 9.x on AIX based system..? plz reply the detailed steps involved....?
What is db2 command?
What is the meaning of -805 SQL return code?
Where is the access path logic created by the DB2 Optimizer stored?
When DB2 connection fails, will online program work or give errors.
How to execute stored procedure in db2 command editor?
Why select is not preferred in embedded sql programs?
What is runstats utility in db2?
What is a view? Why use it?
Can we update view in db2?