开发者

How to update multiple tables from XML data

开发者 https://www.devze.com 2023-01-21 06:31 出处:网络
I have 6 tables in an SQL Server 2000 databa开发者_C百科se. The XML contains a similar schema. What I want is to update the records in the database and append the new entries. I am a bit new to this.Y

I have 6 tables in an SQL Server 2000 databa开发者_C百科se. The XML contains a similar schema. What I want is to update the records in the database and append the new entries. I am a bit new to this.


You haven't specified the programming language you'll be using to update the database tables. If you intend to use T-SQL then have a look at OpenXml. This Link might be a starting point. You can use the result of the SELECT statement to perform an insert/update etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消