What is the main different between Null and NOT Null.
Difference between Primary and Unique Key.
How to Check the database from which application is it
possibe.

Answer Posted / nivedita

IF NULL is specified,the feild is allow to be left empty
without any value.
IF NOT NULL is specified,the field must be given a value. In
the absence of either a NULL or NOT NULL, NULL is assumed.

-------
Unique key can't be NULL.Primary key can be NULL.
Unique key always contain unique value,duplicate are not
allowed(genrally the system genrated key).Primary key maybe
repeated.

Is This Answer Correct ?    6 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to represent ENUMs and SETs internally?

880


How to see table's field formats or description of table .

649


How do I export mysql query results to excel?

696


Why do we use pragma autonomous transaction?

663


How would you get the current date in mysql?

831


What is the date format in mysql?

643


How to increment dates by 1 in mysql?

758


What is mysql slow query?

709


What are the limitations of mysql?

720


What is mysql common?

651


How do I make an action query?

669


How to create table show example

720


Is mysqli deprecated?

662


Explain csv tables.

722


What is default schema in mysql?

674