Last active
August 29, 2015 14:03
-
-
Save ploegert/223f05a98e6fc6dd6d37 to your computer and use it in GitHub Desktop.
SQL Azure Create User and Add Permissions
This file contains hidden or 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 TableauReader WITH password='1231!#ASDF!a'; | |
| CREATE USER TableauReader FROM LOGIN TableauReader; | |
| CREATE ROLE db_execute | |
| GRANT EXECUTE TO db_execute | |
| exec sp_addrolemember 'db_execute', 'TableauReader' | |
| EXEC sp_addrolemember 'db_ddladmin', 'TableauReader'; | |
| EXEC sp_addrolemember 'db_datareader', 'TableauReader'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment