Reputation: 33
i have a database with the data
i want to edit the column with lab_no and add another zero (0) after the 8 for all the records... how can i do that because the records are many. Thank you
Upvotes: 3
Views: 73
Reputation: 1148
Assuming that all the records begin with EPI8, then you can do this:
UPDATE [tablename] SET lab_no = REPLACE(lab_no, 'EPI8', 'EPI80');
Upvotes: 7