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...

Is primary key = unique key,not null?
If yes,please explain
IF No,please explain

Answer Posted / kirti

Yes.When a column is assigned primary key it means it
contains unique value(i.e. no duplicate value is allowed) &
it can't accept null values.
Whereas unique key means no duplicare value is allowed, but
null value is allowed. And not null means no null value is
accepted but duplicate value can be passed.
So when we assign primary key to a column, the column
becomes both unique & not null.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I reset a sequence in oracle?

1092


How will you write a query to get a 5th rank student from a table student_report?

1857


What is oracle join syntax?

994


What is a user role in oracle?

1114


Explain the truncate in oracle?

960


Explain the difference between replace() and translate() functions in oracle?

1026


Explain what does a control file contain?

1092


What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.

1098


21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.

2090


What is a sub query? Describe its types?

1011


What is program global area (pga) in oracle?

1022


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

2351


Can sub procedure/function be called recursively?

991


How to create a new table by selecting rows from another table?

1076


Can we create database in oracle using command line ?

1076