This article summarizes the features, objects, properties, and data types that are available for SQL Server projects.
The objects and properties listed below are compatible with all versions of SQL Server, including:
SQL Server 2012
SQL Server 2014
SQL Server 2016/2017
SQL Server 2019/2022
Objects and properties
-
-
Constraints
-
Clustered / Nonclustered
ASC / DESC
-
Clustered / Nonclustered
Expression
ASC / DESC
-
Expression
Not for replication
NoCheck
-
Comment/Description
Post Script
-
-
Index
Where expression
Clustered
Members
Description
-
PK Index
Where expression
Clustered
Members
Description
-
FK Index
Where expression
Clustered
Members
Description
-
Unique Index
Where expression
Clustered
Members
Description
-
Fulltext Index
Where expression
Members
Description
-
-
-
Data type (see summary of types below)
(NOT) NULL
Default
-
Identity
Start
Increment
-
Computed
Persisted
Collation
Comment/Description
-
Materialized
Comment/Description
-
Overloading parameters
Comment/Description
-
Overloading parameters
Comment/Description
Data types
-
Numeric Data Types
DECIMAL
NUMERIC
INT
TINYINT
SMALLINT
BIGINT
MONEY
SMALLMONEY
BIT
FLOAT
REAL
-
String & Binary Data Types
VARCHAR
NVARCHAR
CHAR
NCHAR
NTEXT
TEXT
BINARY
VARBINARY
IMAGE
-
Date & Time Data Types
DATE
DATETIME
DATETIME2
DATETIMEOFFSET
SMALLDATETIME
TIME
-
Geospatial data types
GEOGRAPHY
GEOMETRY