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

Why foreign key column allowing null values even a parent
tables reference key column not having null value..

Answer Posted / sureshramsing@gmail.com

Yes foreign key column allows null values, if it is not having either primary key or not null constraints.
Foreign key just reference to the particular parent column only not for restrcting the data while insert or update. It verifies dependency at the time of delete only.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when the SQL Azure database reaches Max Size?

107


What is the order by used for?

965


What does truncate do?

885


What are the advantages of having an index on the sql server?

872


What are extended events in sql server?

903


is it important for a database administrator to understand the operating system and file access? : Sql server administration

977


Mention the different types of triggers?

1006


Is oracle faster than sql server?

889


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

901


What is a trigger and types of a trigger?

924


What is the recovery model?

931


Create and insert into temp table in sql server?

977


What is database replication? What are the different types of replication you can set up in sql server?

912


Name few of the dcl commands in sql?

951


What is the difference between the 2 operating modes of database mirroring?

1056