Interview Questions

1. What are logins and users and its difference?

A login is the principal that is used to connect to the SQL Server instance. A user is the principal that is used to connect to a database.

The security context on the instance itself is dictated by the login, its roles and the permissions granted/denied. The security context on the database is dictated by the user, its roles and the permissions granted/denied. 

By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

1694322 1720 23 859

Angular

43752 92 0 46

Wordpress

35278 72 1 36