What can be stored in a database?

1 answer

Answer

1085366

2026-04-20 09:00

+ Follow

MySQL
MySQL

For example, here are the different type that you store in a MySQL Database

Numeric :

  • TinyInt
  • SmallInt
  • MediumInt
  • Int
  • BigInt
  • Decimal
  • Float
  • Double
  • Boolean
  • Big
  • Bool
  • Serial

Date and Time

  • Date
  • DateTime
  • Year
  • TimeStamp
  • Time

String

  • Char
  • VarChar
  • TinyText
  • Text
  • MediumText
  • LongText
  • Binary
  • VarBinary
  • TinyBlob
  • Blob
  • MediumBlob
  • LongBlob
  • Enum
  • Set

Spatial

  • Goemetry
  • LineString
  • Point
  • Polygon
  • MultipleLineString
  • MultiplePoint
  • MultiplePolygon
  • GeometryCollection

In other databases, such as Miscrosoft SQL you can even store XML, Image, and much more

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.