Search code examples
sqlsql-update

How can I add text to SQL Column


I want to update 1 column in SQL Table. Example: Current value in column is like this

2013/09/pizzalover.jpg 
2013/10/pasta.jpg       

Now i want to update whole column like this : www.mypizza.com/2013/09/pizzalover.jpg Is there any way I can accomplish this? Thanks in advance


Solution

  • You can simply update column using statement

    update TableName set ColumnName  = 'www.mypizza.com/' + ColumnName