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
 Transact-SQL (2000)
 Update a column of system_ids

Author  Topic 

cblatchford
Starting Member

40 Posts

Posted - 2006-01-06 : 12:37:52
Hi again, busy day today!

I have an extensive list of system_ids, and I need to update them all so they include a preceeding FR; so for example system ID's are currently:

13462356
36123676
24572476

I need to update all so they read..

FR13462356
FR36123676
FR24572476

Thanks..

Blatch

nr
SQLTeam MVY

12543 Posts

Posted - 2006-01-06 : 12:46:49
update tbl set fld = 'FR' + fld


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -