a table CANNOT have more than one PK, drop the current and add a composite PK ....PRIMARY KEY (COL1,COL2...).... > ---------- > From: Mudhalvan[SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, June 05, 2001 12:01 PM > To: LazyDBA.com Discussion > Subject: How to add Composite Primary Key in a Table > > Hi DBAs > > Senario : > > I already created a Table without any primary key. Then i altered the > table > using alter table and added one primary key column. > > Question : > > Shall i add one more primary key to the same table ( Compsite primary > key). > If so then let me know the syntax > > Thanks > > Mudhalvan M.M > Oracle DBA > Maveric Systems > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > -------- > Oracle documentation is here: > http://tahiti.oracle.com/pls/tahiti/tahiti.homepage > To unsubscribe: send a blank email to [EMAIL PROTECTED] > To subscribe: send a blank email to [EMAIL PROTECTED] > Visit the list archive: http://www.LAZYDBA.com/odbareadmail.pl > Tell yer mates about http://www.farAwayJobs.com > By using this list you agree to these > terms:http://www.lazydba.com/legal.html > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rahul INET: [EMAIL PROTECTED] Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
