Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

8132


What is the syntax for seeing the columns and data types of a table in the db2 database?

1085


Define sqlca.

1054


What do you mean by storage group (stogroup)?

984


How to retrieve rows from a db2 table in embedded sql?

1325


How to create backup table in db2?

1041


How do I create a view in db2?

972


What are db2 tables?

1049


What is iseries database?

989


What is alias in db2?

980


What is a system catalog table in db2?

1100


When reorg is used?

1070


What is the advantage in De-normalizing tables in DB2?

1114


What is the maximum size of a char data type in db2?

963


How to get the ddl of a table in db2?

1071