Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. ### **Numbers** :
  2.  
  3. | type | description | range | length | exemple |
  4. | --- | --- | --- | --- | --- |
  5. | **tinyint** | | `-128 to 127 (0-255)` | 2<sup>8</sup> | |
  6. | **smallint** | | `-32768 to 32767 (0-65535)` | 2<sup>16</sup> | |
  7. | **mediumint** | | `-8388608 to 8388607 (0-16777215)` | 2<sup>24</sup> | --- |
  8. | **int** | |`-2147483648 to 2147483647 (0-4294967295)` | 2<sup>32</sup> | --- |
  9. | **bigint** | | `-9223372036854775808 to 9223372036854775807 (0-18446744073709551615)` | 2<sup>64</sup> | --- |
  10. | **decimal** | `store exact numeric values, best for business uses` | --- | --- | --- |
  11. | **float** | --- | --- | --- | --- |
  12. | **double** | --- | --- | --- | `DOUBLE(5,2) -> 123.45` |
  13.  
  14. ### **Date & Hours** :
  15. - **date**
  16. - **datetime**
  17. - **timestamp**
  18. - **time**
  19. - **year**
  20.  
  21. ### **Strings** :
  22. - **char**
  23. - **varchar**
  24. - **tinytext**
  25. - **text**
  26. - **mediumtext**
  27. - **longtext**
  28. - **json**
  29.  
  30. ### **Lists** :
  31. - **enum**
  32. - **set**
  33.  
  34. ### **Binaries** :
  35. - **bit**
  36. - **binary**
  37. - **varbinary**
  38. - **tinyblob**
  39. - **blob**
  40. - **mediumblob**
  41. - **longblob**
  42.  
  43. ### **Geometry** :
  44. - **geometry**
  45. - **point**
  46. - **linestring**
  47. - **polygon**
  48. - **multipoint**
  49. - **multilinestring**
  50. - **multipolygon**
  51. - **geometrycollection**
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement