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

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -