zoukankan      html  css  js  c++  java
  • PostgreSQL 数据类型

    数值类型

    数值类型由两个字节,4字节和8字节的整数,4字节和8字节的浮点数和可选精度的小数。下表列出了可用的类型。 www.yiibai.com

    NameStorage SizeDescriptionRange
    int2 2 bytes small-range integer -32768 to +32767
    int4 4 bytes typical choice for integer -2147483648 to +2147483647
    int8 8 bytes large-range integer -9223372036854775808 to 9223372036854775807
    decimal variable user-specified precision,exact up to 131072 digits before the decimal point; up to 16383 digits after the decimal point
    float4 4 bytes variable-precision,inexact 6 decimal digits precision
    float8 8 bytes variable-precision,inexact 15 decimal digits precision
    serial2 2 bytes small autoincrementing integer 1 to 32767
    serial4 4 bytes autoincrementing integer 1 to 2147483647
    serial8 8 bytes large autoincrementing integer 1 to 9223372036854775807

  • 相关阅读:
    常用的Dos命令
    关于CSS3
    数据渲染
    jQuery中的AJAX
    AJAX
    面向对象3
    克隆对象、对象继承
    面向对象2
    面向对象1
    面向对象
  • 原文地址:https://www.cnblogs.com/mobies/p/11669907.html
Copyright © 2011-2022 走看看