Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is SERIAL data type in MySQL?

Answers were Sorted based on User's Feedback



What is SERIAL data type in MySQL?..

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

What is SERIAL data type in MySQL?..

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 is SERIAL data type in MySQL?..

Answer / amith

BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT .

Is This Answer Correct ?    44 Yes 32 No

Post New Answer

More MySQL Interview Questions

How to get last inserted id after insert data from a table in mysql?

0 Answers  


Can we use mysql and mysqli together?

0 Answers  


How will you export tables as an xml file in mysql?

0 Answers  


How to load data from a text file into a table?

7 Answers   Sasaa,


What is blob datatype in mysql?

0 Answers  


Can mysql and mariadb coexist?

0 Answers  


How to change the database engine in mysql?

0 Answers  


How do I switch users in mysql?

0 Answers  


How do I start mysql in mysql workbench?

0 Answers  


What is mysql default database?

0 Answers  


How to copy data from one server to another using php?

0 Answers  


How triggers can be used in mysql?

0 Answers  


Categories