| How to apply SQL Server T-SQL data types? |
|
The following
Microsoft SQL Server 2008 T-SQL data types can be used in TABLE declaration and variable/parameter definition:
-- SQL Server 2008 T-SQL data types
bigint
bit
char -- char(10)
date
datetime
decimal -- decimal(10,2)
float
geography
geometry
hierarchyid
image
int
money
nchar -- nchar(10)
ntext
numeric -- numeric(12,2)
nvarchar -- nvarchar(32), nvarchar(max)
real
rowversion
smallint
smallmoney
text
time
tinyint
uniqueidentifier
varbinary -- varbinary(10), varbinary(max)
varchar -- varchar(64), varchar(max)
xml
|
| |
| SQLUSA.com
Home Page |
|
|
SQL Server Training at www.sqlusa.com.
SQL Server 2008 Video Training at www.sqlusa.com.
SQL Server 2005 Training Videos at www.sqlusa.com.
Microsoft SQL Server 2000 Training Videos at www.sqlusa.com.
|
FREE SQL & Business Intelligence / OLAP Short Videos on YOUTUBE.com |
|
Search SQLUSA FREE SQL Server Articles & FREE T-SQL Scripts |
Copyright 2005-2011, SMI Corp. All Rights Reserved.
SQL Server 2012 is a program product of Microsoft Corporation. SQL Server 2008 is a program product of Microsoft Corporation. SQL Server 2005 is a program product of Microsoft Corporation. SQL Server 2000 is a program product of Microsoft Corporation. |
|