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

MSSQL Connect Database User to Login

2009-06-04 2021-09-22 / MSSQL Server / Login, User / 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 →

Related Posts

MSSQL JOIN Selection Queries

MSSQL Server / By Tim van Kooten Niekerk

MSSQL Create Unique Constraints

MSSQL Server / By Tim van Kooten Niekerk