Data Types in MariaDB10


  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博客 ” ,链接:http://blog.itpub.net/29070860/viewspace-1701923/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29070860/viewspace-1701923/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值