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
xsl and object params syntax
Joomla Body ID Tag Using Menu Item Alias
How to trigger an AC2 event using FLV instance timecode.
Scale one data series in Excel bar graph
JavaScript: Get first jpg image - IE Problem
units of the magnitude and direction of a vector
Migration from win 2008 sbs to one win 2008 dc\file server and one win 2008 exchange server.
Help ListView Show All
how to create a create script for a new login
Excel Emailing Worksheet