I'm a bit puzzled.
I have a table called [CARS] which has primary key called CarID (autonumber)
I have a table called [CarExtended] with a field to link to [CARS] called CarExt_CarID_Link (set as long int)
I have created a query between the two. This all works fine, but I then wanted to set an index on the field CarExt_CarID_Link to prevent duplicates.
Without the index the query runs as expected (in around 0.5 second). With the index set, the query then takes around 12 seconds.
Can anyone help explain why - or what is causing this?
Thanks Mark
I have a table called [CARS] which has primary key called CarID (autonumber)
I have a table called [CarExtended] with a field to link to [CARS] called CarExt_CarID_Link (set as long int)
I have created a query between the two. This all works fine, but I then wanted to set an index on the field CarExt_CarID_Link to prevent duplicates.
Without the index the query runs as expected (in around 0.5 second). With the index set, the query then takes around 12 seconds.
Can anyone help explain why - or what is causing this?
Thanks Mark