Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Batch update

Author  Topic 

rlull
Starting Member

39 Posts

Posted - 2006-08-25 : 12:10:24
I need to append all the text in a single column with ".jpg". For example, each text value stored in this column is in this format: LASTNAME_FIRSTNAME. I need to change them all to LASTNAME_FIRSTNAME.jpg. There are 475 rows. How do I do this? Thanks.

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2006-08-25 : 12:20:53
[code]
Update MyTable
Set
MyColumn = MyColumn + '.jpg'
[/code]

CODO ERGO SUM
Go to Top of Page
   

- Advertisement -