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

How to add Foreign key in a table after the creation of the
table?

Answer Posted / subbu

You cannot add foreign key after creation of the table until
unless you have assigned the primary key while creating the
table. I mean without a primary key assigned for a table, we
cannot add foreign key.

Once the primary key is found, then query to add is been
already given by the above posters.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meaning of <> in sql?

1068


Is full outer join same as cross join?

969


Does sql full backup truncate logs?

1015


What packages(if any) has oracle provided for use by developers?

5811


What is query syntax?

969


Explain the uses of database trigger.

1115


Explain the order of sql statement execution?

1045


Explain autonomous transaction.

1154


What is a trigger word?

1023


Is sql procedural language?

967


What is trigger with example?

1100


What is the difference among union, minus and intersect?

1000


How to display Row Number with Records in Oracle SQL Plus?

1047


What version is sql?

1032


How to raise user-defined exception with custom sqlerrm ?

1129