При попытке присвоить значение переменной
Declare @StrXML varchar(4000)
Set @StrXML = (
SELECT top 1 F as Fam, I as Im, O as Otch, Kod_Dog
FROM [OLDRASS]...[Clients] as Client
FOR XML AUTO, ELEMENTS
) |
|
Имею сообщение о некоректном синтаксисе...
Server: Msg 170, Level 15, State 1, Line 5
Line 5: Incorrect syntax near 'XML'.