SQL自动用户创建 [英] SQL AUTOMATIC USER CREATION

查看:109
本文介绍了SQL自动用户创建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请创建一个自动安装sql server express的解决方案,创建一个用户(例如(sys/admin),并将数据库文件附加到它的任何帮助上,请解决该问题?

Please I need to create a solution that automatically installs the sql server express , creates the user eg ( sys/admin ) and attaches the database file to it any help please ??

推荐答案

我发现的最好的方法是将其作为命名实例安装(以减少冲突的可能性),然后连接到它并从我自己的安装程序运行DB安装脚本.

The best I ever found was to install it as a named instance ( to decrease the odds of a clash ), then connect to it and run DB install scripts from my own installer program.


这篇关于SQL自动用户创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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