Declare @doc xml
set @doc ='
'
Declare @handle int
Exec sp_xml_prepareDocument @handle output, @doc
Select ImageName, date From openXML(@handle, N'/r/i') with (ImageName varchar(20) 'n', date datetime 'm')
Select ImageName,date From openxml(@handle,'/r/t') with (ImageName varchar(20) 'n', date datetime 'm')
Exec sp_xml_removeDocument @handle
Monday, October 12, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment