电脑技术学习

Sybase数据库的数据类型

dn001
在创建表或声明局部变量时,必须使用Sybase系统预定义类型。
1.字符类型
Char(n) VarChar(n)
2.数值类型
整数类型——Integer SmallInt TinyInt
浮点类型——Real Float Number[P,S] Decimal[P,S]
货币类型——Money SmallMoney
3.日期/时间类型
Datetime SmallDatetime
两者时间部分的精度不同,前者精确到分,后者精确到1/30秒。
4.文本和图像类型
Text Image
5.二进制数据类型
Binary(n) VarBinary(n)

标签: