Код: Выделить всё
select ....soapenv="http://schemas.xmlsoap.org/soap/envelope/"...from...where...
Но когда я запускаю свое приложение, я получаю сообщение об ошибке, когда мое приложение выполняет этот запрос.
Это сообщение об ошибке:
Код: Выделить всё
Incorrect syntax near the keyword 'declare'.
'soapenv' is not a recognized CURSOR option.
Это мой запрос:
Код: Выделить всё
SELECT XMLFile.value('declare namespace soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\";declare namespace cus=\"http://nestle-eai/Schemas/esb/Customer\";declare namespace inf=\"http://nestle-eai/Schemas/esb/Infrastructure\";declare namespace ars=\"http://nestle-eai/Schemas/ar/arService\";(soapenv:Envelope/soapenv:Body/ars:setCustomerIn/parameters/cus:customer/cus:VeevaId)[1]','VARCHAR(20)') FROM dbo.VEEVA_XML
С уважением
Подробнее здесь: https://stackoverflow.com/questions/293 ... es-c-sharp
Мобильная версия