将大型XML文件导入SQL数据库 [英] Import a Large XML File in to SQL database

查看:148
本文介绍了将大型XML文件导入SQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我需要将大型XML文件的内容导入SQL 2005数据库。文件大小从250-700 MB不等。我能够导入大约100 MB的文件。
如果拆分大文件并创建数据库,如何处理数据集生成的主键。

TIA,
Gokul

解决方案

有专门用于SQL服务器的论坛,请参阅 http:// social。 msdn.microsoft.com/Forums/en-US/category/sqlserver
至于批量加载,请参阅http://msdn.microsoft.com/en-us/library/ms171993(SQL.90).aspx

Hi There,
I need to import the contents of a large XML file in to a SQL 2005 database. THe file-size varies from 250-700 MB. I was able to import the file which was around 100 MB.
In case of splitting large file and creating the database how to handle the primary key generated by the dataset.

TIA,
Gokul

解决方案

There are forums dedicated to SQL server, see http://social.msdn.microsoft.com/Forums/en-US/category/sqlserver .
As for bulk load, see http://msdn.microsoft.com/en-us/library/ms171993(SQL.90).aspx


这篇关于将大型XML文件导入SQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆