About 446,000 results
Open links in new tab
  1. How to design a user/role schema in a SQL Server database?

    I want to design a user/role system: The users have a name and a password and then the user can have several roles like Admin. For this I created a schema like this: Users: CREATE TABLE [dbo].[...

  2. sql - Is it good database design to have admin users in the same table

    Nov 13, 2010 · I have users who can login on a front-end page, and admins who can login on an admin page. Should both users and admins be "Users" with different roles, or should they be split in different tables?

  3. Database-level roles - SQL Server | Microsoft Learn

    To easily manage the permissions in your databases, SQL Server provides several roles that are security principals that group other principals. They are like groups in the Windows operating system. Database-level roles are database-wide in their permissions scope.

  4. User, customer, admin account in 3 different tables?

    Aug 18, 2010 · In general, having separate tables for customers and admins should speed-up any admin/customer related query. Sometimes, users and customers have differents properties, so you need to split into 2 tables instead of putting optional columns in the same table.

  5. How to create a user with admin access in SQL Server?

    Oct 26, 2018 · To work on the database, you must have access to the server first, then you need access to the database. A Login grants the principal entry into the server. A User grants a login entry into a single database. One Login can be associated with many users (one per database).

  6. Database model with users, roles and rights

    Mar 14, 2011 · In this model, an administrator assigns a user to a role that has certain predetermined right and privileges. Because of the user's association with the role, the user can access certain resources and perform specific tasks.

  7. Server-Level Roles - SQL Server | Microsoft Learn

    Feb 10, 2025 · Beginning with SQL Server 2012 (11.x), you can create user-defined server roles and add server-level permissions to the user-defined server roles.

  8. SQL Server Administration - SQL Server Tutorial

    This SQL Server administration tutorial provides you with the knowledge and skills you need to administer SQL Server database servers effectively. This tutorial is for database administrators and developers, who want to administer SQL Server successfully.

  9. SQL Server database level roles for creating tables

    Dec 19, 2018 · Is there a way to create or change a special role for creating tables? Our software developer team has db_datareader and db_datawriter roles but they can not create new tables. I read this article related to database level roles.

  10. mysql - Database design: User table and relationships - Database ...

    Mar 16, 2020 · I'm designing a DB for a small school project, but currently struggling with the design of the User table and it's related tables. Basically: A User can be a Student, a Teacher or an Admin.

Refresh