Do we have any optinon to search part of integer in DB2 as
we have for character Like,SUBSTR optins?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum number of columns in a db2 table?

725


Mention the location where the output received from explain statement is stored.

630


What are the various isolation levels possible?

649


What is db2 instance?

593


Explain the contents that are a part of dclgen.

661






What types of tables are there in the db2 database?

557


Why db2 is called db2?

595


How do I delete a table in database?

600


What is the difference between cursor and select statement?

616


What is rebind in db2?

576


Can there be more than one cursor open for any program?

662


Define data page.

634


What is dpf in db2?

666


What is declare cursor?

613


How many databases are there?

593