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
SSIS Slowly Changing Dimension
how to get aspnetdb.mdf for download for free
Go to Specific Text in Cell
secure email pgp
Backup Exec user accounts
XSL - Regarding Page Layout
Errors in database
Best Analysis Software
Caracters not displaying correctly in controls.
How to setup exchange server for Trendmicro Hosted Email Security (outbound mails)