I'm currently working in SQLTALK trying to do a global change to the last 4 digits of my activity table. For example, I'm needing to change 2004323I400 to 2004323D858.
update av_activity x set act = replace(act, '%I777', '%TEST') WHERE ACT LIKE '%I777'
AND EXISTS (SELECT MP FROM AV_MPMEMBERS Y WHERE Y.PROJ = X.PROJ AND Y.MP = 'NICK' );
This is what I currently have and it runs and tells me that it has updated records. But when I go to actually go into the tables and look at the records, nothing has changed. Can anyone help me???
update av_activity x set act = replace(act, '%I777', '%TEST') WHERE ACT LIKE '%I777'
AND EXISTS (SELECT MP FROM AV_MPMEMBERS Y WHERE Y.PROJ = X.PROJ AND Y.MP = 'NICK' );
This is what I currently have and it runs and tells me that it has updated records. But when I go to actually go into the tables and look at the records, nothing has changed. Can anyone help me???