摘要: 数据类型描述字节推荐使用SMALLINT整数,从-32000到 +32000范围2存储相对比较小的整数。比如: 年纪,数量INT整数,从-2000000000 到 +2000000000 范围4存储中等整数例如: 距离BIGINT不能用SMALLINT 或 INT描述的超大整数。8存储超大的整数例如: 科学/数学数据FLOAT单精度浮点型数据4存储小数数据例如:测量,温度DOUBLE双精度浮点型数据8需要双精度存储的小数数据例如:科学数据DECIMAL用户自定义精度的浮点型数据变量;取决于精度与长度以特别高的精度存储小数数据。例如:货币数额,科学数据CHAR固定长度的字符串特定字符串长度(高达 阅读全文
posted @ 2012-01-10 22:38 刀锋_Master 阅读(174) 评论(0) 推荐(0) 编辑
摘要: SQL SERVER类型C#类型精确数字bigint从 -2^63 (-9223372036854775808) 到 2^63-1 (9223372036854775807) 的整型数据(所有数字)。存储大小为 8 个字节。Int64int从 -2^31 (-2,147,483,648) 到 2^31 - 1 (2,147,483,647) 的整型数据(所有数字)。存储大小为 4 个字节。int的 SQL-92 同义字为integer。Int32smallint从 -2^15 (-32,768) 到 2^15 - 1 (32,767) 的整型数据。存储大小为 2 个字节。Int16tinyin 阅读全文
posted @ 2012-01-10 22:31 刀锋_Master 阅读(1499) 评论(0) 推荐(0) 编辑
摘要: C# 类型.NET 框架类型bool System.Booleanbyte System.Bytesbyte System.SBytechar System.ChardecimalSystem.Decimaldouble System.Doublefloat System.Singleint System.Int32uint System.UInt32long System.Int64ulong System.UInt64object System.Objectshort System.Int16ushort System.UInt16string System.String 阅读全文
posted @ 2012-01-10 22:22 刀锋_Master 阅读(192) 评论(0) 推荐(0) 编辑