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


Could you please let me no the query for below

I have table name xyx under this there is column name called employee name which starts from 100th column ends 120th column,now i want to replace only column from 101 to 104 which contains ABCS to replace with PQRS for all records which comes beetween 101 to 104 ..how to write query for this..



Could you please let me no the query for below I have table name xyx under this there is column n..

Answer / devika

update XYZ
set empname(2,4) = 'PQRS'
where substr(empname(2,4))='ABCS'

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More DB2 Interview Questions

How Plan is created while executing the query using SPUFI?

3 Answers  


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

0 Answers  


What is buffer pool?

0 Answers  


What keyword does an SQL SELECT statement use for a string search?

2 Answers  


What is host variable in db2 cobol?

0 Answers  


What is the maximum size of a char data type in db2?

0 Answers  


How do I add a column to an existing table in db2?

0 Answers  


What is a data page?

1 Answers  


What is plan in cobol db2?

0 Answers  


Normalization in DB2 – first normal form, second normal form

4 Answers   Virtusa,


what is the difference between declaring the cursor in WS section and Procedure division?

1 Answers   HCL,


What is db2 connect?

0 Answers  


Categories