Collections:
Simplest Way To Create New Databases in SQL Server
What is the simplest way to create a new database in SQL Server?
✍: FYIcenter.com
The simplest way to create a new database is to use the "CREATE DATABASE" statement with this syntax:
CREATE DATABASE database_name
For example, run this statement:
CREATE DATABASE FyiCenterData GO
A new database called "FyiCenterData" should be created in the SQL server. Of course, FyiCenterData should be empty at this moment - no tables. But it should have some other data objects automatically created by the server.
⇒ "USE" - Setting the Current Database in SQL Server
⇐ What Is a Database in SQL Server
2016-11-24, 2572🔥, 0💬
Popular Posts:
How to change the data type of an existing column with "ALTER TABLE" statements in SQL Server? Somet...
How to format a number of bytes in a human-readable unit using the FORMAT_BYTES() function? FORMAT_B...
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
What Are the Underflow and Overflow Behaviors on FLOAT Literals in SQL Server Transact-SQL? If you e...
How to download and install SQL Server 2005 Sample Scripts in SQL Server? If you want to learn from ...