0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

データベースカラムのデータ型一覧

Posted at

データベースにおけるカラムのデータ型の備忘録


データ型一覧

データ型 説明
string 短い文字列
text 長い文字列
integer 整数(例えば1や100など)  
float 小数点を含む数字(例えば1.23)
decimal 小数点を含む数字(小数点の桁数指定可能)
datetime 日付と時間(例:2024-10-05 12:30:00)
timestamp 特定の瞬間を表すデータ(例:Unix時間)
time 時間(例:12:30:00)
date 日付(例:2024-10-05)
binary バイナリデータ(0と1のデータ)
boolean 真偽値(trueまたはfalse)

随時追加していきます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?