difference between login, schema and user?

  • hai to every one,

    i am confused to understand schema and user. what is the difference between this two.

    could any one explain this topic.

    regards,

  • A login is a principal at the server level and can be granted/revoked/denied permissions at the server level.

    A user is a principal at the database level and can be granted/revoked/denied permissions at the database level. It is linked to a login.

    A schema is an organizational structure for objects within a database. Permissions can be granted/revoked/denied on whole schemas to users or roles.

    That's the simple version.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply