Hello.
Our software applications require the sa login to be enabled. We have a .NET (C#) installation application that installs our software applications.
So, is there any way that we can programmatically enable the sa login for SQL Server 2005? Ideally, we'd like to code this into our installation application.
Thanks.
The login is enabled by default if you installed with Mixed Authentication.
You can enable it by executing:
ALTER LOGIN sa ENABLE
Thanks
Laurentiu
No comments:
Post a Comment