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 clustered index?

1 Answers  


What is database reorganization?

0 Answers  


Do we need cursor for Count(*)?

4 Answers   iGate,


What is usage pointer in cobol?

3 Answers   IBM,


What is the significance of DB2 free space and what parameters control it?

1 Answers  






When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing?

2 Answers  


Mention data types used in db2 ?

0 Answers  


Explain the benefits you can get from mainframe connect?

0 Answers  


What is IMAGECOPY ?

6 Answers  


What is page size in db2?

0 Answers  


While creating a table, by mistake you have given size of one field as 10. But as per requirement size should be 8. What is your next step?

4 Answers   CTS, IBM,


Suppose I have a program which uses a dynamic SQL and it has been performing well till now. Off late, I find that the performance has deteriorated. What happened?

1 Answers  


Categories