sql - how to do calculations with qelement results in xml? -


i have xml code returns result sql query:

<qelement fname = "machine_dt" dbname="db">   declare @dt int         set @dt =(select top 1 [value] [db].[dbo].[configdbe] [line] = '1' , [name] = 'hello')   select isnull(@dt,0) </qelement>  

how can use result perform calculations it?


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -