【发布时间】:2014-04-19 17:29:01
【问题描述】:
对于query language (SQL) functions,int 和 integer base types 有什么区别?
你怎么知道的?
【问题讨论】:
标签: sql postgresql types integer int
对于query language (SQL) functions,int 和 integer base types 有什么区别?
你怎么知道的?
【问题讨论】:
标签: sql postgresql types integer int
在 Postgresql 中,int 和 int4 是 integer 的别名,这是一个带符号的四字节整数
http://www.postgresql.org/docs/current/static/datatype.html#DATATYPE-TABLE
【讨论】:
Int 和 Integer 是一样的
"关键字 INT 是 INTEGER 的同义词"
同样
“关键字 DEC 和 FIXED 是 DECIMAL 的同义词”
【讨论】: