sql server - Inserting a character in the beginning of a string in SQL -
i need change 'postalcode' column strings setting character 'a' @ beginning of string. i've tried this:
update customers set postalcode = stuff(postalcode , 0 , 1 , 'a')
but nothing... ideas?
you can try use concat
update customers set postalcode = concat('a', postalcode )
Comments
Post a Comment