i feel this could be a better alternative instead of having a composite pk consisting of 6 columns. this way u might be making ur structure more complex.. a better approach should be to use more simpler and streamline stuctures if possible.. saurabh ----- Original Message ----- To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 6:11 PM > > I don't know the limit of columns making PK. > But I can suggest to use surrogate key and populate it from sequence. > > What You will do with your 6 columns if you need a foreign key to this > table? > > Gints Plivna > > > > > > "Vishak" > <vishak.holla@ To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> > wipro.com> cc: > Sent by: Subject: Limit > [EMAIL PROTECTED] > om > > > 01.03.19 14:10 > Please respond > to ORACLE-L > > > > > > > Hello Gurus > > I just want to know the number of columns that can be combined to make a > primary key(composite). > > I have a table with 16 columns of which I would like to make a combination > 6 > columns as a PK. > > The volume of records may be 10,000 or less. This table will be used to > generate a report(thro a screen). > > Any suggestions on how to design the table > > TIA > > Regards > Vishak > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Vishak > 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). > > > > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: > 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Saurabh Sharma 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).
