SQL基类型:整数与整数?

时间:2014-03-14 12:15:05

标签: sql postgresql types integer int

对于query language (SQL) functionsintinteger base types之间有什么区别?

你怎么知道?

2 个答案:

答案 0 :(得分:26)

在Postgresql中intint4integer的别名,有符号的四字节整数

http://www.postgresql.org/docs/current/static/datatype.html#DATATYPE-TABLE

答案 1 :(得分:5)

Int和Integer是相同的

  

“关键字INT是INTEGER的同义词”

类似地

  

“关键字DEC和FIXED是DECIMAL的同义词”

Sql Numeric Documentation Source