Created
March 24, 2015 13:24
-
-
Save anzekrpic/2b08641058221c75bca5 to your computer and use it in GitHub Desktop.
Sample for creating login and user for Azure website
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE LOGIN [mySampleWeb] | |
WITH PASSWORD = N'NePovem'; | |
GO | |
CREATE USER [mySampleWeb] FOR LOGIN [mySampleWeb] WITH DEFAULT_SCHEMA=[dbo] | |
GO | |
EXEC sp_addrolemember 'db_datareader', 'mySampleWeb'; | |
EXEC sp_addrolemember 'db_datawriter', 'mySampleWeb'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment