标签: sql xml
我有xml代码,它返回sql查询的结果:
<QElement FName = "Machine_DT" DBName="DB"> declare @DT as int set @DT =(SELECT TOP 1 [Value] FROM [DB].[dbo].[ConfigDBe] where [line] = '1' and [Name] = 'Hello') select isnull(@DT,0) </QElement>
我如何使用此结果进行计算?