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, 2799🔥, 0💬
Popular Posts:
How To List All Login Names on the Server in SQL Server? If you want to see a list of all login name...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...
How To Convert Numeric Values to Integers in SQL Server Transact-SQL? Sometimes you need to round a ...
How To Get Year, Month and Day Out of DATETIME Values in SQL Server Transact-SQL? You can use DATEPA...