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!

Update Substring

474363Jun 15 2006 — edited Jun 16 2006
How do I update the substring of a string value?

Update table1
Set substr(field_value, 0, 1) = '2'
where id=300

I tried the above in TOAD and I got ORA-00927: missing equal sign

Please help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2006
Added on Jun 15 2006
8 comments
800 views