ITPub博客

首页 > 数据库 > MySQL > Data Types in MariaDB10

Data Types in MariaDB10

原创 MySQL 作者:长河BI 时间:2015-06-16 22:29:19 0 删除 编辑

  1. Numeric Data Types
  2. TINYINT
  3. Tiny integer, -128 to 127 signed
  4. BOOLEAN
  5. Synonym for TINYINT(1)
  6. SMALLINT
  7. Small integer from -32768 to 32767 signed
  8. MEDIUMINT
  9. Medium integer from -8388608 to 8388607 signed
  10. INT
  11. Integer from -2147483648 to 2147483648 signed
  12. INTEGER
  13. Synonym for INT
  14. BIGINT
  15. Large integer
  16. DECIMAL
  17. A packed "exact" fixed-point number
  18. DEC, NUMERIC, FIXED
  19. Synonyms for DECIMAL
  20. FLOAT
  21. Single-precision floating-point number
  22. DOUBLE
  23. Normal-size (double-precision) floating-point number
  24. DOUBLE PRECISION
  25. REAL and DOUBLE PRECISION are are synonyms for DOUBLE
  26. BIT
  27. Bit field type
  28. Floating-point Accuracy
  29. Due to their nature, not all floating-point numbers can be stored with exac...

  30. String Data Types
  31. CHAR
  32. Fixed-length string
  33. VARCHAR
  34. Variable-length string
  35. BINARY
  36. Fixed-length binary byte string
  37. CHAR BYTE
  38. Alias for BINARY
  39. VARBINARY
  40. Variable-length binary byte string
  41. TINYBLOB
  42. Tiny binary large object up to 255 bytes
  43. BLOB
  44. Binary large object up to 65,535 bytes
  45. BLOB and TEXT Data Types
  46. Binary large object data types and the corresponding TEXT types
  47. MEDIUMBLOB
  48. Medium binary large object up to 16,777,215 bytes
  49. LONGBLOB
  50. Long BLOB holding up to 4GB
  51. TINYTEXT
  52. A TEXT column with a maximum length of 255 characters
  53. TEXT
  54. A TEXT column with a maximum length of 65,535 characters
  55. MEDIUMTEXT
  56. A TEXT column with a maximum length of 16,777,215 characters
  57. LONGTEXT
  58. A TEXT column with a maximum length of 4,294,967,295 characters
  59. ENUM
  60. Enumeration, or string object that can have one value chosen from a list of values
  61. SET Data Type
  62. Set, or string object that can have 0 or more values chosen from a list of values


  63. Date and Time Data Types
  64. DATE
  65. The date type YYYY-MM-DD
  66. TIME
  67. Time format HH:MM:SS.ssssss
  68. DATETIME
  69. Date and time combination displayed as YYYY-MM-DD HH:MM:SS
  70. TIMESTAMP
  71. YYYY-MM-DD HH:MM:DD
  72. YEAR Data Type
  73. A four-digit year


  74. Other Data Types Articles
  75. AUTO_INCREMENT
  76. Automatic increment
  77. Autoincrement FAQ
  78. NULL Values
  79. NULL represents an unknown value


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29070860/viewspace-1701923/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Log4j日志级别
请登录后发表评论 登录
全部评论

注册时间:2015-06-16

  • 博文量
    15
  • 访问量
    89058