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

What is the meaning concurrency in the db2 database?

1056


What is null indicator in cobol db2?

992


How to get the ddl of a table in db2?

1072


What is iseries database?

990


How to restart a DB2 program?

1827


what is the responsibility of the construction superintendent

2080


Mention the downsides of page level lock.

1112


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

1063


Define db2.

1064


What is dbrm? What it contains?

1110


Differentiate between cs and rr isolation levels? Where do you specify them?

1023


Define db2 and its databases?

1003


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1004


what is utility for parm lib

2309


What is cloudant database?

1033