facebook

Creating Multi-Column Primary Keys in Derby DB Tables

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #278694 Reply

    webbd
    Member

    I’m trying to create tables in a Derby database, using the wizards provided in DB Explorer. I don’t see any way to specify a primary key that consists of more than one column. Do I need to create a multi-column primary key manually using an SQL statement, or is there a way to make one of the wizards do it for me?

    Thanks.
    Dennis Webb

    #278726 Reply

    Loyal Water
    Member

    I don’t see any way to specify a primary key that consists of more than one column.

    While adding the colums you can check the Primary Key check box for every column that you want to add as a primary key. (Im referrring to the column wizard window)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Creating Multi-Column Primary Keys in Derby DB Tables

You must be logged in to post in the forum log in