select orderid from orders where REGEXP_REPLACE(orderid,'/^0+(.)/')
I have searched the documentation and am missing it. If I run this query will it change any real data or just my set returned for output (the “virtual” data)? The word replace scares me. I am using oracle 11g.
Thank you.
Because you are performing a
SELECT, you end up getting a read only view of the data, nothing has changed.So you don’t need to worry about running this select statement. The only way to update it would be to follow this up with an
UPDATEcommand.