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
 Appending to field

Author  Topic 

Vack
Aged Yak Warrior

530 Posts

Posted - 2008-08-14 : 09:44:00
Is there a way to append data to a field?

Want to perform an update to an item table with customer item numbers.

So I could have multiple customer item numbers per item number. There is a comment field in the item table I would like to update with the customer item info.

For instance.
Tables:
items
custitems

I want to move Cus_no and Cus_item from table custitems to the comment field in the item table.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-08-14 : 09:49:43
Are you using SQL Server 2000 and SQL Server 2005?



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

Vack
Aged Yak Warrior

530 Posts

Posted - 2008-08-14 : 09:54:57
SQL server 2000
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-08-14 : 14:18:55
do you mean you want to update a column with a set of values from another table? may be comma seperated?
Go to Top of Page
   

- Advertisement -