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, 3581🔥, 0💬
Popular Posts:
How To Convert Numeric Values to Integers in SQL Server Transact-SQL? Sometimes you need to round a ...
How To Use GO Command in "sqlcmd" in SQL Server? "sqlcmd" is a command line client application to ru...
How To Convert Characters to Numbers in Oracle? You can convert characters to numbers by using the T...
How To Use SQL*Plus Built-in Timers in Oracle? If you don't have a stopwatch/timer and want to measu...
How to execute statements under given conditions in SQL Server Transact-SQL? How to use IF ... ELSE ...