如何对数据库进行非规范化 [英] how to denormalize data base

查看:230
本文介绍了如何对数据库进行非规范化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我有一个小问题,如何在sql server中使用sql代码对任何数据库进行非规范化,问题是我不知道我要处理的数据库,所以我必须找到一般的方法

hello all
i have a littel question , how can i denormalize any data base using sql code in sql server , the problem is that the i don''t know the database that i will deal with so the i have to find general way

thanks in advance.

推荐答案

您可以使用以下命令获取SqlServer数据库的架构:

http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.getschema.aspx [ ^ ]

然后,您可以使用标准SQL命令以任何希望的方式修改数据库.

尼克
You can get the schema of a SqlServer database with this:

http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.getschema.aspx[^]

You can then modify the database in any way you wish using standard SQL commands.

Nick


这篇关于如何对数据库进行非规范化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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