About 2,330,000 results
Open links in new tab
  1. CREATE USER (Transact-SQL) - SQL Server | Microsoft Learn

    Adds a user to the current database. The 13 types of users are listed with a sample of the most basic syntax:

  2. How to Create Login, User and Grant Permissions in SQL Server

    Aug 13, 2025 · Step 1) To create login SQL server, Navigate to Security > Logins. Step 2) In the next screen, Enter. Step 3) Login is created. You can also create a login using the T-SQL …

  3. SQL Server CREATE USER

    In this tutorial, you'll learn how to use the SQL Server CREATE USER statement to add a user to the current database.

  4. Create a New User and Grant Permissions in SQL Server

    Open SQL Server management studio. In the Object Explorer, expand the Databases node. Here, we are going to create a new user for the HR database. So, expand the HR database. Expand …

  5. SQL Server Script to create a new user - Stack Overflow

    Oct 21, 2009 · To create the user associated with the login for the specific database you want to grant them access too. (See here for details) You can also use: To set up the permissions for …

  6. SQL Server Database Security - Logins and Users

    Jun 17, 2025 · To access SQL Server, you need to create a login, and to give access to a database you need to create a user. In this tutorial, we look at how to create a SQL Server …

  7. SQL Server: CREATE USER statement - TechOnTheNet

    This SQL Server tutorial explains how to use the SQL Server CREATE USER statement with syntax and examples. The CREATE USER statement creates a database user to log into SQL …

  8. how to create user in sql server : 2 easy methods

    Oct 20, 2023 · To create a new user in sql server, you can use the CREATE LOGIN statement. Here’s an example of how to Create Login in sql server: In this declaration, replace …

  9. How to Create a New User in SQL Server and Manage Permissions

    Nov 25, 2021 · In the article, we are going to examine how to create a new user account and grant/revoke permissions and roles on a database object, as well as how to check SQL Server …

  10. T-SQL Create User in SQL Server database

    CREATE USER user_name; GO. This article describes how to define a new user in SQL Server database. The T-SQL statement CREATE USER defines user in the current database.