Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. What are the different between users,Roles and schemas?

What are the different between users,Roles and schemas?

Scheduled Pinned Locked Moved System Admin
databasesql-serversysadminhelpquestion
5 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bintaleb1403
    wrote on last edited by
    #1

    Hi all I am reading SQL server 2005 Administrating and Maintaining course and I have -I can say- good knowledge about user , Roles and shcemas but I need anyone to help me to differentiation between them. thank you

    Mohammad bin taleb

    W S 2 Replies Last reply
    0
    • B bintaleb1403

      Hi all I am reading SQL server 2005 Administrating and Maintaining course and I have -I can say- good knowledge about user , Roles and shcemas but I need anyone to help me to differentiation between them. thank you

      Mohammad bin taleb

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      User (of a database) is a login that's permitted to use a database. Role grants privileges to objects or to the system to a user or login etc. Schema again is a logical "context" for database objects.

      The need to optimize rises from a bad design.My articles[^]

      B 1 Reply Last reply
      0
      • W Wendelius

        User (of a database) is a login that's permitted to use a database. Role grants privileges to objects or to the system to a user or login etc. Schema again is a logical "context" for database objects.

        The need to optimize rises from a bad design.My articles[^]

        B Offline
        B Offline
        bintaleb1403
        wrote on last edited by
        #3

        thanks a lot I was looking for that since I sent this topic but in additional to your clarification I understand more. My Best Regards

        Mohammad bin taleb

        W 1 Reply Last reply
        0
        • B bintaleb1403

          thanks a lot I was looking for that since I sent this topic but in additional to your clarification I understand more. My Best Regards

          Mohammad bin taleb

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          You're welcome

          The need to optimize rises from a bad design.My articles[^]

          1 Reply Last reply
          0
          • B bintaleb1403

            Hi all I am reading SQL server 2005 Administrating and Maintaining course and I have -I can say- good knowledge about user , Roles and shcemas but I need anyone to help me to differentiation between them. thank you

            Mohammad bin taleb

            S Offline
            S Offline
            Sunil Dass
            wrote on last edited by
            #5

            I hope this help also. SQL Server 2005 introduces schemas to the database. A schema is simply a named container for database objects. Each schema is a scope that fits into the hierarchy between database level and object level, and each schema has a specific owner. The owner of a schema can be a user, a database role, or an application role. The schema name takes the place of the owner name in the SQL Server multi-part object naming scheme. Schemas solve an administration problem that occurs when each database object is named after the user who creates it. In SQL Server versions prior to 2005, if a user named Bob (who is not dbo) creates a series of tables, the tables would be named after Bob. If Bob leaves the company or changes job assignments, these tables would have to be manually transferred to another user. If this transfer were not performed, a security problem could ensue.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups