【问题标题】:SQL base types: integer vs int?SQL 基本类型:整数与整数?
【发布时间】:2014-04-19 17:29:01
【问题描述】:

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

你怎么知道的?

【问题讨论】:

    标签: sql postgresql types integer int


    【解决方案1】:

    在 Postgresql 中,intint4integer 的别名,这是一个带符号的四字节整数

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

    【讨论】:

      【解决方案2】:

      Int 和 Integer 是一样的

      "关键字 INT 是 INTEGER 的同义词"

      同样

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

      Sql Numeric Documentation Source

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2011-03-11
        • 1970-01-01
        • 2017-05-23
        • 2011-12-16
        • 2011-02-17
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多