sql server 精确数值型及近似数值型
1、第一步,建立一个表goif exists(select * from sysobjects where name='TestTable')---数据表drop table TestTablecreate table TestTable()

3、接着,就在表里添加numeric整型数据字段create table TestTable(Tnumeric numeric,--从-10的38次幂-1到10的38次幂-1的固定精度和范围的数值型数据。)解析:numeric 精确数值型numeric数据类型与decimal 相似。

5、接着,就在表里添加real 整型数据字段create table TestTable(Treal real,--可以是从-1.79E+308到1.79E+308 之间的任意数)解析:real 近似数值型real 数据类型像浮点数一样,是近似数值类型。它可以表示数值在-3.40E+38到3.40E+38之间的浮点数
