Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Making subWorkName of SubWork Primary Key then i would not be able to create a new SubWork with the same name but different workName. Right? Commented Jun 25, 2014 at 16:45
  • @MarcoAcierno No, my suggestion is to make the combination (workName, subWorkName) the primary key of SubWork. So, you could have 2 subworks with same name and different workname. Or with same workname and different name. But not 2 rows with same workname and same name. Commented Jun 25, 2014 at 18:04
  • What is activityColumn? Commented Jun 26, 2014 at 10:28
  • I edited my answer with what i want to do. Commented Jun 26, 2014 at 11:12
  • I should have named that ActivityID or something similar. You had not mentioned that table's primary key. Commented Jun 26, 2014 at 11:47