Sha256: 4c915ccd08f27d43749d8ddd2553eee1cdd785c6c2583705732b0af82ad20706

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

  use $(DB_NAME)2Dev
  go
  IF NOT EXISTS (SELECT name FROM master.sys.server_principals WHERE name = '#{user_name}')
    create login #{user_name} with password ='$(SA_PASSWORD)',DEFAULT_database = [$(DB_NAME)2Dev]

  SET QUOTED_IDENTIFIER ON
  go

  EXEC sp_change_users_login 'Auto_Fix', '#{username}'


go

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
container-backup-0.1.0 scripts/mssql/map_logins.sql