SQL Server 2K 数据类型:
二进制:
1, 固定长度存储 1-8000binary[(n)]
2, 变长存储 1-8000varbinary[(n)]
3, image 2exp31 -1
字符型:
1, 固定长度存储 1-8000char[(n)]
2, 变长存储 1-8000varchar[(n)]
3, text 2exp31-1
Unicode字符数据
支持字符范围大,存储空间大
1,nchar[(n)] 固定长度存储 1-4000
2,nvarchar[(n)] 变长存储 1-4000
3,ntext 2exp30-1
日期时间型
1, datetime
2, smalldatetime
整数型数据
1, bigint
2, int
3, smallint
4, tinyint
精确数值型
1, decimal
2, numeric
近似数值
1, float(n)
2, real
货币数据
1, money