51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

在安装过程中,使用SQL Server Express在登录中创建一个用户。

英文:

Create a user in logins during installation with SQL Server Express

问题 {#heading}

我需要在计算机上安装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 {#1}

得分: 2

不可作为安装的一部分。安装完成后,您需要连接到实例并运行CREATE LOGIN。 英文:

Not possible as part of installation. After installation you'll need to connect to the instance and run CREATE LOGIN.


赞(7)
未经允许不得转载:工具盒子 » 在安装过程中,使用SQL Server Express在登录中创建一个用户。