DECLARE @newValue varchar(50)
SELECT @newValue = 'NewValueXX'
UPDATE [temp1]
SET request_data.modify('replace value of (/request_data/segment/text())[1] with sql:variable("@newValue")')
Where request_data.value(' (/request_data/segment)[1]', 'varchar(50)' ) like 'ta%'
Ads
Subscribe to:
Post Comments (Atom)
-
Find More On : - http://www.sqlserver-training.com/250-sql-queries-interview-question-answers/-#5+ SQL Queries Interview Questions ...
-
http://technet.microsoft.com/en-us/library/cc731002(WS.10).aspx#BKMK_requirements How accounts are created through wizards in ...
-
Error Message: Replication-Replication Distribution Subsystem: agent DBA\DBA-EPDW-EPDW-DB6C\DB6C-5 failed. The subscription(S) have been...
No comments:
Post a Comment