UPDATE [Customers]
SET [Address] = REPLACE([Address],'123456','02')
WHERE [CustomerID] = 4
this code replace 02 on 123456 but i want to change on 2 first digit is change to 023456 can any one help me Thank
UPDATE [Customers]
SET [Address] = REPLACE([Address],'123456','02')
WHERE [CustomerID] = 4
this code replace 02 on 123456 but i want to change on 2 first digit is change to 023456 can any one help me Thank
Assuming 12 don't repeat in the string.