SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Difference between Create User and Create Login .....♀§♀§♀§


Difference between Create User and Create Login .....♀§♀§♀§

Author
Message
forsqlserver
forsqlserver
SSCrazy
SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)SSCrazy (2.5K reputation)

Group: General Forum Members
Points: 2542 Visits: 2050
Dear All,

Clear Difference between Create User and Create Login .....

Is any one..

Thanks
- Win.
- Win.
Right there with Babe
Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)Right there with Babe (714 reputation)

Group: General Forum Members
Points: 714 Visits: 800
A SQL Server login allows a user to connect to a server. A login is the base concept.

Database user is associated with a login to allow specific permissions on that database.



DB user without SQL Server login: not possible to create, a Database User MUST be
related to a SQL Server login.

Cheers,
- Win.

" Have a great day "
Pradyothana Shastry
Pradyothana Shastry
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1913 Visits: 507
Login:


Create login with password =<>

Which will create a login for sql server so that user can use this credentials to connect the sql server.


User:

A user is DB user which will have permission to specific or more database permissions. We can map the databases for the perticular user in the properties of user.


- Pradyothana


http://www.msqlserver.com
ps.
ps.
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4137 Visits: 3668
Agreeing to what others said, you create a login to grant access to the server as a whole and u create a User id to grant access to a database. As suggested in earlier posts, every user id must have an associated Login ID. Generally, user IDs and Logins have same name (however u can map a user id to a login which is not the same)

You see login after expanding server->security
You see users after expanding server->database->security



Pradeep Singh
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search