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
Can you take the code from a Joomla Template and its modular layout, copy a "generic" version of the pages code and paste the code in when you need the same kind of page layout. If so how?
3 monitors on i5-650 on Gigabyte GA-H55M-UD2H
add MRU List o Contextmenustrip in vb.net
how to set up a backup domain controller
Redundant tables in Data Sources window of VIsual Studio 2010
SQL Query
Problems with photos and videos on a macintosh
connect to sql database using php
OpenVMS logs to be sent using syslog
PHP - No results show for If else statement