DECLARE @Datafull XML
DECLARE @Layoutfull XML
SET @Datafull = dbo.ufn_Common_Layout_DataCells_AsXML(@Layoutfull,
24125, 1,
0, 0)
SET @Layoutfull = dbo.ufn_Common_Layout_ByDealerAndItemFromCache_AsXML_ex(5,5030, 658)
select @Datafull AS [values]
select @Layoutfull AS [layout]
DECLARE @ret XML;
EXEC @ret = [ufn_Common_Layout_InsertValues] @pLayout=@Layoutfull,@pValues=@Datafull
select @ret AS [result]