如何使用SMO编写数据库对象脚本 [英] How to script DB objects using SMO

查看:87
本文介绍了如何使用SMO编写数据库对象脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在那里
有人可以给我举个例子,说明如何使用SMO编写db对象脚本吗?

hi there
can anybody post me a little example, how to script db objects using SMO?

推荐答案


我写了一篇有关脚本的文章.您可以在这里找到更多关于此的信息:
n的SMO教程3-脚本 [
Hi,
I have written an article about scripting. more about that you can find here:
SMO Tutorial 3 of n - Scripting[^]

Regards
Robert



您可以查看下面的链接,这可能有助于您引用SMO对象.

加密数据库的所有存储过程 [ ^ ]

问候
Hi ,
You can check out the link below, it might help you make a refernce to the SMO object.

Encrypting all the Stored Procedures of a Database[^]

Regards


按照此链接转到Microsoft网站,其中包含您需要的所有内容 SQL Server管理对象
Follow this link to the Microsoft site which has all you need SQL Server Management Objects


这篇关于如何使用SMO编写数据库对象脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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