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 does <> sql mean?

1085


Can we use the cursor's to create the collection in PL/SQL?

1026


What is foreign key and example?

936


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

1068


Does truncate require commit?

972


Why do we use procedures in pl sql?

1039


What is %s in sql?

1014


What does t sql mean?

944


How many disk partitions should I have?

988


What is sql key?

989


What is difference between stored procedures and application procedures?

1013


What is the plv (pl/vision) package offers?

1051


What are the types of optimization?

959


In what condition is it good to disable a trigger?

1010


what is the difference between $message and $$message? : Sql dba

997