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?



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

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

Post New Answer

More DB2 Interview Questions

What is a Cartesian product?

2 Answers  


When would you prefer to use VARCHAR?

3 Answers  


How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?

2 Answers   IBM, Tech Mahindra,


what is the sqlcode -501

5 Answers   IBM, Polaris, Zeus,


List out the buffer pools in db2

0 Answers  


Do we need cursor for Count(*)?

4 Answers   iGate,


What is load replace in db2?

0 Answers  


Where besides the DB2 catalog is database object information stored by DB2?

1 Answers  


What is the difference between nvl and coalesce?

0 Answers  


select 100 records from million records ?

2 Answers   Verizon,


How does cobol compile db2 program?

0 Answers  


4. A DB2 application is bound with uncommitted Read isolation level.It issues a request that retrieves 20 rows out of 200000 in the table. Which of the following descrbes the rows that are locked as a result of this request? a. None of the rows are locked. B.The retrieved rows are locked. C.The last row of the result set is locked. D.The rows not previously updated by another application are locked.

3 Answers   Wipro,


Categories