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

    Apr 11, 2017 · 6 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. How to use a variable for the database name in T-SQL?

    Unfortunately you can't declare database names with a variable in that format. For what you're trying to accomplish, you're going to need to wrap your statements within an EXEC () statement.

  3. Create SQL script that create database and tables

    Apr 24, 2011 · I would like to create a SQL script that creates the database and tables in a single script. I can create "Create" script using the SQL Management Studio for each case (Database …

  4. How to have docker compose init a SQL Server database

    Nov 12, 2021 · I have a docker-compose file that creates a starts SQL Server. This is working fine. I can connect to the database and see the master database. What I am trying to do is …

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

  6. 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, …

  7. How do I create a new user in a SQL Azure database?

    Sep 30, 2013 · Only afterwards can you run commands to create a user in the database. The way SQL Azure or SQL Server works is that there is a login created first at the server level and …

  8. sql - CREATE DATABASE or ALTER DATABASE failed because the …

    Mar 24, 2015 · CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 10240 MB per database. …

  9. How can I create a SQLite3 database file using a SQL command file?

    That isn't quite an SQL file, that contains a bunch of MySQL-specific stuff some of which SQLite will accept and some it won't. We'll start at the top. You don't need create database or use with …

  10. How to create an alias of database in SQL Server

    Feb 12, 2014 · Create a database with the name you want to impersonate. Re-jigg the DDL code generator to create a view for every table in the database that has the tables I need to access …