Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MySQL 5.0 の int と integer データ型の違いは何ですか? 誰でも助けることができますか?正確な違いはわかりません。
MYSQL 5.0 オンライン リファレンスから引用
キーワード INT は、INTEGER のシノニムです。
唯一の違いはスペルだと思います。
したがって、INT を使用すると、SQL スクリプトで使用するバイト数が少なくなります (問題ではありません)。
intと integerの違いは、それintがデータ型であることですが、integer はデータ型のグループ ( int、long、shortなど)byteです。
int
long
short
byte