Solved

how to write data from xml file to database

Posted on 2009-05-11
4
277 Views
Last Modified: 2013-11-27
i want to write some data from xml file to database. but it is not working properly. Im using the opnexml() in the stored procedure
0
Comment
Question by:logicslab
  • 2
4 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24352709
I have written very small yet useful article to load relational data into SQL Server. have a look.

http://www.sqlhub.com/2009/04/load-relational-xml-data-in-sql-server.html
0
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24352719
you can store XML data along with it TAG also, if you have XML datatype in any column. have a look few more useful articles.

http://msdn.microsoft.com/en-us/library/ms345117.aspx

http://www.sql-server-performance.com/articles/dev/xml_data_2005_p1.aspx
0
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
ID: 24353175
Hi logicslab,

Have a look at the following:
http://www.sqlservercurry.com/2008/09/how-to-import-xml-data-in-sql-server.html

Good Luck!

Gary
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 24357186
>>i want to write some data from xml file to database. but it is not working properly. Im using the opnexml() in the stored procedure<<
Please post your Stored Procedure and indicate why "it is not working properly".
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now