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

Mention the way of highlighting as well as putting a cursor to use in a cobol program.

0 Answers  


How do I add a column in db2?

0 Answers  


What is package in db2 mainframe?

0 Answers  


How can we read records for specific member in CL? AND rpg?

0 Answers  


What does CURRENTDATA option in bind indicate

1 Answers   IBM,


What is catalog database in db2?

0 Answers  


Is it mandatory to use DCLGEN? If not, why would you use it at all?

2 Answers  


What kind of database is db2?

0 Answers  


Can we install 2 different versions of Db2 on same mainframe?

3 Answers  


what is commit & rollback? When and where is used while compiling a cobol-db2 program?

2 Answers  


What if we fail to give values in columns declared as NOT NULL ?

3 Answers   Cap Gemini,


What is with ur in db2?

0 Answers  


Categories