About 813,000 results
Open links in new tab
  1. Create Local SQL Server database - Stack Overflow

    Apr 11, 2017 · After installation you need to connect to Server Name : localhost to start using the local instance of SQL Server. Once you are connected to the local instance, right click on …

  2. database - What privileges are needed to create\delete tables on a ...

    Nov 21, 2019 · 5 I am not so into SQL Server and I have the following doubt: I have to require the creation of an user that can work on some databases. This user have to create\delete table, …

  3. sql - Create database if db does not exist - Stack Overflow

    Jan 8, 2020 · I want to make SQL Server script for creating database if it does not exist.

  4. How can I generate an entity–relationship (ER) diagram of a …

    128 I want to generate an ER diagram of an SQL database using Microsoft SQL Server Management Studio (SMSS). However, I don’t know how to. I found this technique online: …

  5. CREATE DATABASE permission denied in database 'master' (EF …

    Steps : Create a database in the Sql server management studio (preferably without tables). Now back on visual studio, add a connection of the newly created database in the server explorer. …

  6. SQL Server Express CREATE DATABASE permission denied in …

    Oct 24, 2009 · SQL Server Express CREATE DATABASE permission denied in database 'master' Asked 16 years, 1 month ago Modified 4 years, 1 month ago Viewed 164k times

  7. SQL Server giving logins(users) db_owner access to database

    Dec 17, 2017 · You need to do two things, both running in the context of the target database (i.e., execute USE (database) first): Add that user as a login to the database: CREATE USER …

  8. sql server - How to use sqlcmd to create a database - Stack Overflow

    Jan 1, 2012 · I have a .sql script and I want to build a database from it. How to do it in sqlcmd? I know it's like: CREATE DATABASE dbName GO But how to specify the .sql script and …

  9. 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 …

  10. How can I clone an SQL Server database on the same server in …

    374 I have an MS SQL Server 2008 Express system which contains a database that I would like to 'copy and rename' (for testing purposes) but I am unaware of a simple way to achieve this. I …