About 1,710,000 results
Open links in new tab
  1. SQL Server Script to create a new user - Stack Overflow

    Oct 21, 2009 · I want to write a script to create a admin user ( with abcd password ) in SQL Server Express. Also I want to assign this user admin full rights.

  2. Creating User and Password in SQL Server - Stack Overflow

    Mar 11, 2018 · Creating User and Password in SQL Server Asked 7 years, 9 months ago Modified 2 years, 3 months ago Viewed 11k times

  3. How do I resolve SQL Server User Mapping Error 15023?

    It's still present in versions up to SQL 2019, at least. The newer recommended way to fix an orphaned user, from Troubleshoot orphaned users (SQL Server): In the master database, use the CREATE …

  4. sql server - How do I create a new user in a SQL Azure database ...

    Sep 30, 2013 · GO -- Add user to the database owner role EXEC sp_addrolemember N'db_owner', N'<user_name, sysname, user_name>' GO I would like to create a user called user1 with a …

  5. How can I create a user in SQL Server Express database I added to my ...

    How can I create a SQL user in a SQL Server Express database that I added to my project? I need to create a user to use in a connection string that doesn't use Integrated Security.

  6. How to grant a Managed Identity permissions to an Azure SQL …

    Aug 28, 2023 · This includes an Azure SQL Server, a SQL Database, and a User Assigned Managed Identity. After the resources are created I'm trying to get the GitHub action to grant the managed …

  7. Add Azure Active Directory User to Azure SQL Database

    Jul 12, 2017 · CREATE USER [[email protected]] FROM EXTERNAL PROVIDER WITH DEFAULT_SCHEMA = dbo Then I connected to same server in SSMS using local SQL …

  8. How do I grant read access for a user to a database in SQL Server?

    Jun 8, 2012 · I want to grant access to a user to a specific database with read and write access. The user is already available in the domain but not in the DB. So, how can I give them that access with …

  9. How to add a user in an SQL Server database with the same rights as in ...

    Feb 25, 2021 · Use the CREATE USER and then GRANT / DENY that USER the needed permissions or add to them the ROLE (s) that it needs to be added to. CREATE USER (Transact-SQL), GRANT …

  10. sql server - How to create a read-only user for a particular schema ...

    Nov 4, 2020 · After creating a user via CREATE USER... I want to give it access to my database and schema. Here is the way that is working: EXEC sp_addrolemember 'db_owner', 'tom' GRANT …