Известный Болтун
Зарегистрирован: 21 February 2005
Сообщения: 680
Примеры кода: 0
|
Что за лажа в ХП? |
13 August 2006 00:32 |
|
|
|
|
есть ХП
alter PROCEDURE DeleteItemFromScroller
--the id of the item element to delete
@idToDelete nvarchar(50)
as
declare @xmlCommand nvarchar(200)
set @xmlCommand='delete //item[id='+@idToDelete+']'
update menu set menu_data.modify(@xmlCommand)
при компиляции выпадает
The argument 1 of the xml data type method "modify" must be a string literal
Ну так он же и есть string!!!
/**********Comments***************************/
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With gr
Данное сообщение получено с сайта GotDotNet.RU
|
|