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


Write a query to retrive partial string.

Answers were Sorted based on User's Feedback



Write a query to retrive partial string...

Answer / rajesh_m13

substr('string',1,3) which gives str. correct me if i am wrong

Is This Answer Correct ?    8 Yes 0 No

Write a query to retrive partial string...

Answer / ignatius pradeep

A Sample Query:

SELECT SUBSTR(DESC_T,1,4)
FROM PRODUCT
WHERE PROD_I = 123456;

DESC_T is a column in the table PRODUCT

The first four characters of the DESC_T will be displayed.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB2 Interview Questions

Explain the use of the WHERE clause?

1 Answers  


cobol-db2 runjcl please?

2 Answers   DELL,


What is normalization and what are the five normal forms?

1 Answers  


How would you find out the total number of rows in a db2 table?

0 Answers  


what are the max. & min. no. of partitions allowed in a partition tablespace?

2 Answers   IBM,


Say CUST Table contains records like: CUSTNO CUSTNAME CUSTLOC 100 ABC SSS 200 XYZ 300 PQR 400 MNO WWW 500 CVV ------------- ------------- Now write a query to retrieve all records with CUSTLOC no data.

3 Answers   IBM,


When is the skeleton cursor table created?

1 Answers  


a cursor normally gets closed once we provide a commit . If u try to close the same cursor with close cursor command later after providing the commit will there be any sql-error.

3 Answers  


How to execute stored procedures?

0 Answers  


How to fetch the uncommited data from table ?

1 Answers   JPMorgan Chase,


What is db2 connect?

0 Answers  


What is table space in db2?

0 Answers  


Categories