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...


How is the SUBSTR keyword used in sql?



How is the SUBSTR keyword used in sql?..

Answer / s

Select * from emp
where SUBSTR(empname,4,2) = 'EN'

4 is the starting position and returns 2 characters after
that.

Is This Answer Correct ?    8 Yes 5 No

Post New Answer

More DB2 Interview Questions

What is the syntax required for the creation of a cursor?

1 Answers  


What are iseries servers?

0 Answers  


What r the comman abends in db2, jcl and cobol???????

0 Answers   Mphasis,


How can i install db2 9.x on AIX based system..? plz reply the detailed steps involved....?

0 Answers   IBM, TCS,


Write a query to extract first 5 characters of a name in the column Stud_Name?

1 Answers   RBS,


What are some characteristics of columns that benefit from indexes?

1 Answers  


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

0 Answers  


What is usage pointer in cobol?

3 Answers   IBM,


What is a db2 collection?

0 Answers  


List some fields from sqlca?

0 Answers  


What is the difference between static and dynamic SQL?

1 Answers  


What is the difference between plan and package in db2?

0 Answers  


Categories