Collections:
CREATE TABLE - Creating New Tables in SQL Server
How to create new tables with "CREATE TABLE" statements in SQL Server?
✍: FYIcenter.com
If you want to create a new table, you can use the "CREATE TABLE" statement. The following tutorial script shows you how to create a table called "tip":
CREATE TABLE tip (id INTEGER PRIMARY KEY, subject VARCHAR(80) NOT NULL, description VARCHAR(256) NOT NULL, create_date DATETIME NULL) GO
This scripts creates a testing table called "tip" with 4 columns in the current database.
⇒ "sys.tables" - Getting a List of All Tables in SQL Server
⇐ DDL (Data Definition Language) Statements for Tables? in SQL Server
2016-11-17, 4412🔥, 0💬
Popular Posts:
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
How To Calculate Age in Days, Hours and Minutes in SQL Server Transact-SQL? On many Web sites, news ...
How To Select All Columns of All Rows from a Table in Oracle? The simplest query statement is the on...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...
How to download and install the scaled-down database AdventureWorksLT in SQL Server? If you want to ...