Skip to content
Scripts & HOWTOs
Scripts & HOWTOs
  • GNU/Linux
  • MSSQL
  • MySQL
  • XML
  • PowerShell
  • MSWin
  • README
  • ABOUT
Scripts & HOWTOs
Scripts & HOWTOs
  • Category Index
  • Privacy Policy

MSSQL Connect Database User to Login

/ MSSQL Server / By Tim van Kooten Niekerk

The script below connects an existing user in the database to an existing server login.

USE [DATABASE]
ALTER USER DbUser WITH LOGIN = [LoginUser]
GO
Post navigation
← Previous Post
Next Post →
TECHTIMVKN