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

What is reorg and runstats in db2?

1219


Define check constraint.

1078


Explain what are the various isolation levels possible?

1044


How can you quickly find out the # of rows updated after an update statement?

1049


What is cursor in dbms?

1069


What is drop table?

1011


Differentiate between cs and rr isolation levels? Where do you specify them?

1071


Why db2 is called db2?

1042


ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

2070


Mention the different locking levels that are available in db2.

1136


How will you return the number of records in table?

937


What are union and union all?

983


What is a db2 tablespace?

1066


What is temporal table in db2?

1041


What is runstats db2?

1037