Access Sql语句中的字段类型
责任编辑:hylng    浏览:6682次    时间: 2012-12-31 23:15:23      

免职声明:本网站为公益性网站,部分信息来自网络,如果涉及贵网站的知识产权,请及时反馈,我们承诺第一时间删除!

This website is a public welfare website, part of the information from the Internet, if it involves the intellectual property rights of your website, please timely feedback, we promise to delete the first time.

电话Tel: 19550540085: QQ号: 929496072 or 邮箱Email: Lng@vip.qq.com

摘要:在利用Sql操作Acess中,经常要设定其字段类型,比如在创建表、增加列和修改字段属性等。下面把其字段类型总结一下: 2 : "SmallInt", // 整型 3 : "Int", // 长整型 4 : "Real", // 单精度型 5 : "Float", // 双精度型 6 : "Money", // 货币 7 : "DateTime", // 日期..

关键词:Access Sql 语句 类型
分享到:

在利用Sql操作Acess中,经常要设定其字段类型,比如在创建表、增加列和修改字段属性等。下面把其字段类型总结一下:
2 : "SmallInt",                 // 整型
3 : "Int",                 // 长整型
4 : "Real",                 // 单精度型
5 : "Float",                 // 双精度型
6 : "Money",                 // 货币
7 : "DateTime",                 // 日期时间
11 : "Bit",                 // 是否
13 : "TimeStamp",
17 : "TinyInt",                 // 字节
72 : "UniqueIdentifier",         // 同步复制 ID
128 : "Binary",
129 : "Char",
130 : "NChar",
131 : "Decimal",                 // 小数
133 : "DateTime",
135 : "SmallDateTime",
200 : "VarChar",
201 : "Text",
202 : "VarChar",                 // 文本
203 : "Text",                 // 备注
204 : "Binary",                 // 二进制
205 : "Image"                 // OLE 对象
以下字段为无编码字段(NChar、NVarchar、NText型)
8,128,130,202,203,204,205
以下字段为按当前系统内码编码的字段(Asp中可用CodePage=936纠正为gb2312内码)
129,200,201

】【打印繁体】【投稿】 【收藏】 【推荐】 【举报】 【评论】 【关闭】【返回顶部