I want to set a login for a database that i will create in an SQL server instance.
For ex.
After installing Sql Server Express, i will first create a script to create a login.
Then by using the username and password(for the login I created) i will create a database by using script.
Now i want that the database should be accessable by anyone connecting with that username and password only.
Other users, including Windows Authentication and other users should not be able to even see the database.
Please help me.
For ex.
After installing Sql Server Express, i will first create a script to create a login.
Then by using the username and password(for the login I created) i will create a database by using script.
Now i want that the database should be accessable by anyone connecting with that username and password only.
Other users, including Windows Authentication and other users should not be able to even see the database.
Please help me.
Comment