Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML files
Message
 
 
To
29/09/2005 11:21:28
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Title:
Miscellaneous
Thread ID:
01054507
Message ID:
01054521
Views:
18
Check SQLXML for SQL Server 2000 at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_SQLXML.asp

>We need to import data from a XML file into a table of sql server database.
>
>As I know, we could use OPENXML. Could we use other methods?
>
>Could we read directly from a XML file instead of using @doc like in following example?
>
>DECLARE @idoc int
>DECLARE @doc varchar(1000)
>SET @doc ='
>
>....
>
'
>EXEC sp_xml_preparedocument @idoc OUTPUT, @doc
>SELECT *
>FROM OPENXML
>EXEC sp_xml_removedocument @idoc
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform