SQL DataType - How to store a year?

前端 未结 9 885
没有蜡笔的小新
没有蜡笔的小新 2020-12-03 06:27

I need to insert a year(eg:1988 ,1990 etc) in a database. When I used Date or Datetime data type, it is showing errors. Which datatype should I use.

9条回答
提交回复
热议问题