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 are different types of functions in sql?

1004


How many types of normalization are there?

957


How subquery works in sql?

1067


Is oracel sql developer written in java?

1100


what are the advantages of using stored procedures? : Sql dba

1104


Is null operator in sql?

1029


What is the benefit of foreign key?

1022


What does count (*) mean?

927


Why we use pl sql?

956


How many commands are in sql?

1066


How can you fetch first 5 characters of the string?

1014


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

1127


What is the file extension for sql database?

998


What is the difference between delete and truncate commands?

1036


What are procedures used for?

983