T
tbl
In one of the tables in a db, I've tried to prevent
duplicate records by creating a compound index--but it's not
working as I hoped.
The table contains a foreign key for a "parent table", two
more foreign keys for lookup type tables, and three plain
data fields.
The index I made consists of all those fields except for the
last plain data field. The index is set to Primary-No,
Unique-Yes, and Ignore Nulls-No
But I can enter the same data in all those fields without
the index stopping it.
Something tells me I've missed a key concept here...
duplicate records by creating a compound index--but it's not
working as I hoped.
The table contains a foreign key for a "parent table", two
more foreign keys for lookup type tables, and three plain
data fields.
The index I made consists of all those fields except for the
last plain data field. The index is set to Primary-No,
Unique-Yes, and Ignore Nulls-No
But I can enter the same data in all those fields without
the index stopping it.
Something tells me I've missed a key concept here...