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 do you mean by commit and rollback?

0 Answers  


What is buffer pool?

0 Answers  


What are the different types of base tables?

0 Answers  


Explain correlated sub-queries.

0 Answers  


What is the use of dclgen in db2?

0 Answers  


What does it mean if the null indicator has -1, 0, -2?

1 Answers  


What is the difference between Primary key and unique index?

6 Answers  


what happend with out using Commit,when closing cursor and program?

5 Answers   CSC,


What is difference between alias and synonym in db2?

0 Answers  


SI Stud name Subject Marks Pass/Fail 1 Sham Maths 40 P 1 Sham Physics 50 P 1 Sham Bio 20 F 2 Ram Maths 40 P 2 Ram Physics 50 P 2 Ram Bio 60 P For the above data , write the SQL query for the student who passed in all the subjects . For eg : I want the data of only Ram coz he passed all subjects .

2 Answers   Cognizant,


How does DB2 determine what lock-size to use?

2 Answers  


What is the syntax for FETCH in DB2 ?

0 Answers   MCN Solutions,


Categories