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...

Please help me how to write a Query to change the primary
key constraint from 1 attribute to another attribute in a
table

Answer Posted / chandana

YOU CANNOT CHANGE THE CONSTRAINTS DIRECTLY ON A COLUMN.
FIRST DROP THE CONSTARINT U HAVE CREATED AND THEN USE ALTER
COMMAND TO ADD CONSTARINT TO THE CORRECT COLUMN.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2429


What is the oracle implicit cursor?

1016


How to convert characters to dates in oracle?

1038


What privilege is needed for a user to create tables in oracle?

915


How to install oracle odbc drivers?

1050


How to install oracle database 10g xe?

973


What is a lookup table in oracle?

942


How do we represent comments in oracle?

1005


How to connect to the server with user account: sys?

981


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

983


How to use "if" statements on multiple conditions?

1121


Please explain drop constraint oracle?

1037


why dont we assign not null constraint as table level constraint.

2693


What are the different pseudo commands? Explain in general?

1034


How to view the data files in the current database?

1052