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 the sql commands?

1165


Is sql microsoft?

1038


What is the size of partition table?

1041


Can instead of triggers be used to fire once for each statement on a view?

958


What are sql built in functions?

934


How would you convert date into julian date format?

1000


Can you do multiple joins in sql?

1040


what is bdb (berkeleydb)? : Sql dba

1028


What is the purpose of normalization?

1038


What is attribute indicator in pl sql?

1009


How do you update sql?

963


What is a schema sql?

1144


Explain what is a column in a table?

1101


What is sql data?

984


What is anonymous block in sql?

1116