Hi,
My question about the mysql query -:
What is SERIAL data type in MySQL?
Thanks
Data type in mysql
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Chintan RathodRank #516 · 4.8K reputationPosted Jan 2, 2012, 7:14 AM EST
SERIALis an alias forBIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE
SERIAL DEFAULT VALUEin the definition of an integer column is an alias forNOT NULL AUTO_INCREMENT UNIQUE.Thank you.
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 2, 2012, 7:27 AM EST
Please refer the below link
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
Thanks
Nipun TomarRank #90 · 23K reputationPosted Jan 2, 2012, 6:57 PM EST
SERIAL data type is an alias for BIGINT UNSIGNED NOT NULLAUTO_INCREMENT UNIQUE.
For detail description plz read:
http://www.postgresql.org/docs/7.3/static/datatype.html#DATATYPE-SERIAL
Thanks