XSD 到 SQL Server 的转换

XSD to SQL Server conversion(XSD 到 SQL Server 的转换)
本文介绍了XSD 到 SQL Server 的转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我有一个关于 SQL Server 的 SQLXML 的问题.

I have a question in regards to the SQLXML for SQL Server.

我的任务是转换一个 XSD 文件,使其神奇地成为"SQL Server 数据库中的表.我到处环顾四周,在我可能找到的所有链接上,但没有点击.一切都像是我需要实现的半步.

My assignment is to convert an XSD file so that it magically "becomes" tables in the SQL Server database. I've looked around everywhere, on all the links I could possibly find, but nothing clicks. Everything is like a half-step of what I need to achieve.

我对 Visual Studio 不太熟悉,除了运行数据库查询和人们喜欢在 SQL Server 数据库中做的所有事情之外,我没有做太多其他事情.除了 XML.

I am not too familiar with Visual Studio, haven't done much else than running database queries and all the stuff one likes to do in a SQL Server database. Except for XML.

我认为 Microsoft 的 MSDN 中的 SQLXML 将是一个很好的工具(而且我相信它已经安装了).

I figured that SQLXML from Microsoft's MSDN would be a good tool to have (and I believe it's already installed).

任何提示或解决方案?

谢谢.

推荐答案

没有魔法,因为它是家庭作业/学习,我不会详细说明如何自己做,但是如果您将研究转向 SQL 的批量加载功能它似乎正是您所需要的.

There's no magic involved, and as it's homework/study I won't detail how to do it myself, but if you direct your research towards SQL's Bulk Load functionality it would seem to be what you need.

阅读此文章 以获取简要的操作方法"指南.

Read this article for a brief "how to" guide.

或者这篇文章如何使用它的详细说明.

Or this article for a detailed description of how to use it.

这篇关于XSD 到 SQL Server 的转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Sending parameters to stored procedures vb.net(将参数发送到存储过程 vb.net)
Insert multiple rows, count based on another table columns(插入多行,根据另一个表列计数)
How to hold the location of an image in a SQL Server database?(如何在 SQL Server 数据库中保存图像的位置?)
How to send to email (outlook) the selected items in SQL Server database using vb.net(如何使用 vb.net 将 SQL Server 数据库中的选定项目发送到电子邮件(Outlook))
datagrid checkbox writes Null instead of 0 (false) into database(datagrid 复选框将 Null 而不是 0 (false) 写入数据库)
DBCC CheckDb-any ways to detect errors vb.net?(DBCC CheckDb-vb.net 有什么检测错误的方法吗?)