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
 General SQL Server Forums
 New to SQL Server Programming
 Append

Author  Topic 

hotshot_21
Yak Posting Veteran

97 Posts

Posted - 2006-05-04 : 06:03:25
i hav column in table which already conatins data, now i want to append some more data to it.how do i do it so that earler content does not get deleted

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-05-04 : 06:10:49
[code]
update yourtable
set yourcol = yourcol + 'some more data'
[/code]


KH

Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-05-04 : 07:55:51
Provided that yourcol is of char, varchar, etc datatypes

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -