1.

The AUTO_INCREMENT column attribute is best used with ______________(a) FLOAT(b) INT(c) CHARACTER(d) DOUBLEI have been asked this question in quiz.My doubt is from Using Perl DBI in Web Applications in chapter MySQL Programs Using Perl DBI and PHP of MySQL

Answer»

The correct option is (B) INT

The EXPLANATION is: The AUTO_INCREMENT is a column attribute and it is BEST used with the integer datatypes. It AUTOMATICALLY assigns monotonically increasing values to the AUTO_INCREMENT columns.



Discussion

No Comment Found

Related InterviewSolutions