1
0
mirror of https://github.com/Microsoft/sql-server-samples.git synced 2025-12-08 14:58:54 +00:00

Merge pull request #107 from DRediske/master

Amended startup script
This commit is contained in:
Dan Rediske
2016-09-07 14:15:46 -07:00
committed by GitHub

View File

@ -1,4 +1,7 @@
use Clinic;
go
-- Create a non-sysadmin account for the application to use
CREATE LOGIN [ContosoClinicApplication] WITH PASSWORD = <enter a strong password here>
CREATE USER [ContosoClinicApplication] FOR LOGIN [ContosoClinicApplication]
EXEC sp_addrolemember N'db_datareader', N'ContosoClinicApplication'