英文:
Create a user in logins during installation with SQL Server Express
问题
我需要在计算机上安装SQL Server 2019 Express和SSMS,并在SSMS上通过右键单击登录->"添加登录"来创建另一个登录。
我想知道如何在安装过程中是否可以创建一个登录(例如使用configuration.ini
)或者通过请求方式?
我希望在安装过程中自动创建一个用户,就像我们在安全性->登录上右键单击并选择"新登录"时创建用户一样。这是否在SQL Server Express中可能?
谢谢。
英文:
I need to install SQL Server 2019 Express and SSMS on a PC and create another login on SSMS with right click on logins->"Add Login".
I want to know and how, if it's possible, to create a login during installation (with configuration.ini
for example) or maybe with a request ?
I'd like to create automatically in installation a user like we create a user when we make a right-click on Security->Logins and select "New login". Is it possible or not with SQL Server Express ?
Thanks
答案1
得分: 2
不可作为安装的一部分。安装完成后,您需要连接到实例并运行CREATE LOGIN。
英文:
Not possible as part of installation. After installation you'll need to connect to the instance and run CREATE LOGIN.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论