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

How to resolve -818 sql code in DB2?

2 Answers   Cap Gemini,


What is a clustering index ?

3 Answers  


What is sqlca’s maximum length?

0 Answers  


This was related to -811 sqlcode, In a COBOL DB2 program which accesses employee table and selects rows for employee 'A', it should perform a paragraph s001-x if employee 'A' is present. In this case it gets -811 sqlcode, but still it process the paragraph s001-x. What could be wrong in my code.

3 Answers  


Is db2 relational database?

0 Answers  


Is it possible using max on a char column?

0 Answers  


What is the role of the data page in the db2 database?

0 Answers  


Explain correlated sub-queries.

0 Answers  


can all users have the privilage to use the sql statement select * (dml)?

0 Answers   IBM,


Can a Db2 table data be retrived through JCL?

4 Answers  


What is collection in db2 bind?

0 Answers  


before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?

0 Answers   IBM,


Categories