You are here: Re: Update Query using XQuery « MsSQL Server « IT news, forums, messages
Re: Update Query using XQuery

Posted by CK on 11/27/06 21:43

I tried it and I get the same error. Any other ideas?
*****I just tried this and it works great!!!

UPDATE Sales.DeliverySchedule
SET DeliveryList.modify('declare default element namespace
http://schemas.adventure-works.com/DeliverySchedule;
replace value of (DeliveryList/Delivery/Address[1])[1] with "7194 Fourth
St., Rockhampton"')
WHERE ScheduleID = 1

<markc600@hotmail.com> wrote in message
news:1164662865.592811.99820@j44g2000cwa.googlegroups.com...
>
> Try this
>
>
>
> UPDATE Sales.DeliverySchedule
> SET DeliveryList.modify('declare default element namespace
> "http://schemas.adventure-works.com/DeliverySchedule";
> replace value of (DeliveryList/Delivery/Address[1]/text())[1] with
> "7194 Fourth St., Rockhampton"')
> WHERE Sales.DeliverySchedule.ScheduleID = 1
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация