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 PRIMARY KEY TO TABLE BY PL/SQL PROGRAM

Answer Posted / prativa mishra

BEGIN
EXECUTE IMMEDIATE 'ALTER TABLE TABLE_NAME ADD CONSTRAINT PK1
PRIMARY KEY(COLUMN_NAME)';
END;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference sql and mysql?

1030


Can we join more than 2 tables in sql?

1086


Why are cursors used?

1164


What are % type and % rowtype?

1075


Is sql pronounced sequel or sql?

1331


What does count (*) mean?

981


What is example of database?

1124


Can you load data into multiple tables at once? : aql loader

1116


How do I partition a table in sql?

1196


How global cursor can be declare with dynamic trigger ?

2268


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

1088


Is sql database free?

1020


what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

1006


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

1004


what are different types of collation sensitivity? : Sql dba

1114