Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

replace exact match of the string

vinAug 12 2015 — edited Aug 12 2015

example) I have to replace commercial with commercialUS. I have four rows with

commercial

12commercial21

commercialUS

commercialCA

expected output:

commercialUS

12commercialUS21

comemrcialUS

commercialCA

in the column. But i have to only replace commercial with commercialUS i.e only first two columns should be updated. If i use replace functions then all columns are getting updated. I should not include commercialUS and commercialCA.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2015
Added on Aug 12 2015
9 comments
1,736 views