Microsoft
Software
Hardware
Network
Question : How to modify a MS SQL Server 2005 table record for the value of a field that contains multiple values?
I am working with a table in SQL Server 2005.
I have a table named tableA and it has a field named SystemContact and a field named Application.
The field SystemContact can have multiple values for any record. The values are people's
names followed by a semi colon.
Let's assume that for a tableA record where Application = 'WLD',
SystemContact has a value as follows:
John Smith;Joe Franks;Jill Fieldstone;Bob Rowe;George Blanda
Is there a SQL Statement that could update the record where Application = 'WLD', so
that the SystemContact value will be changed to the following value:
John Smith;Joe Franks;William Stemp;Bob Rowe;George Blanda
In this record, the SystemContact value of Jill Fieldstone has been changed to William Stemp.
Answer : How to modify a MS SQL Server 2005 table record for the value of a field that contains multiple values?
UPDATE TABLE1
SET SystemContact = 'John Smith;Joe Franks;William Stemp;Bob Rowe;George Blanda'
WHERE Application = 'WLD';
Random Solutions
Automatic Email Sending
Stop ie7 asking to upgrade to ie 8 on XP SP3
C# - I want to add "Everyone" user with full permission to a registry hive. Is there a way for this?
VMware seperating a Nic card
science of sweating
Using dragdrop, how to "reset" color of a label when mouse leaves and drop has not occurred?
Exploit Virus Attached to bounced back delivery failures
Resetting a combo box vb.net 2010
PlaySound fails on Windows 7
network name of a computer