What is SERIAL data type in MySQL?
Answers were Sorted based on User's Feedback
Answer / bhavin parikh
SERIAL is an alias for BIGINT UNSIGNED NOT NULL
AUTO_INCREMENT UNIQUE.
Reference Link :
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
| Is This Answer Correct ? | 79 Yes | 8 No |
Answer / simon mahony
Check for yourself in the official docs at:
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
This states:
SERIAL is an alias for BIGINT UNSIGNED NOT NULL AUTO_INCREMENT UNIQUE.
SERIAL DEFAULT VALUE in the definition of an integer column is an alias for NOT NULL AUTO_INCREMENT UNIQUE.
| Is This Answer Correct ? | 16 Yes | 3 No |
What you can use regular expression for in mysql? Support your answer with an example?
What is database migration in mysql?
What is striped backup
How to change a password for an existing user via mysqladmin?
What are MySQL transactions?
mazimum size of a database in mysql? when we create a table then how many tables actually created? write there name?
How to get the number of rows selected or affected by a sql statement?
How do I install mysql on windows 10 64 bit?
How do you rename a table in mysql?
how we connect the data base in any programme
Is mysql relational?
What is the use of mysql workbench?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)