Torna al Thread

USE SAPMedia Go DECLARE @strxml xml DECLARE @valstr varchar(MAX) SET @valstr = 'declare namespace xp="http://sav.sap.com/ko"; (/xp:SAV/xp:Utente/xp:Anagrafica/xp:CodiceFiscale)[1]' /* dbo.fnBufferXMLByID(): funzione che restituisce un file xml */ SET @strxml = (SELECT dbo.fnBufferXMLByID(24081)) SELECT [CodiceFiscale] = @strxml.value('sql:variable("@valstr")', 'varchar(16)')
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5