[odb-users] Index on subtable column "index"

Boris Kolpackov boris at codesynthesis.com
Tue Sep 22 10:42:24 EDT 2015


Hi Tim,

Tim Tao <Tim.Tao at akunacapital.com> writes:

> Another question about the subtable.

Please in the future start another thread with proper subject
for "another question". See the posting guidelines for details:

http://www.codesynthesis.com/support/posting-guidelines.xhtml


> I notice all the subtables don't have primary key. I don't 
> know if I can use the combination of parent table's primary
> key and "index" as the primary key of the subtable? Is there
> any reason we don't want to do that.

No, the object id and index pair would be unique so could be a
primary key.

Boris



More information about the odb-users mailing list