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 native sql query?

1076


What does varchar include?

995


What is the difference between sum and count in sql?

1039


Explain mutating table error.

1263


what are the properties and different types of sub-queries? : Sql dba

1078


How do you write an index?

1008


What is nvl?

1116


What is sql query limit?

1021


What is nvarchar max in sql?

1076


How do you determine the current isolation level? : Transact sql

1206


What is pl/sql language case sensitive?

1182


What will you get by the cursor attribute sql%notfound?

1131


How can you get sql*loader to commit only at the end of the load file? : aql loader

1062


Which are the different case manipulation functions in sql?

1077


What are keys in sql?

1042