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
| -- ========================================= | |
| -- Idempotent Setup-Script for DB + User with db_owner-rights | |
| -- ========================================= | |
| SET NOCOUNT ON; | |
| -- Variables | |
| DECLARE @DbName sysname = N'DB Name'; | |
| DECLARE @UserName sysname = N'Username'; | |
| DECLARE @Password nvarchar(128) = N'Secret Password'; |