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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3637


What is db2?

1236


What are the full forms of spufi and dclgen and why are they used?

1137


Is it possible to create an Instance in DB2 using DB2 Control Center ?

1152


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

1246


What is db2? Explain.

1111


Explain how can you do the explain of a dynamic sql statement?

1178


Is db2 free?

1142


What is bind in db2?

1096


Define declaration generator (dclgen).

1172


What is commit in db2?

1106


What does db2 plan contain?

1088


How do you stop a db2 database in linux?

1059


How do I delete a table in db2?

1124


Explain db2.

1087