Robert Berke
asked on
MS Access table with KeyUID in two indexes.
I just noticed that our database's largest table has two indexes that appear to do nearly the same thing:
Index Name Field Name Primary Unique IgnoreNulls
PrimaryKey KeyUID Yes Yes No
IndexKeyUID KeyUID No No No
I am tempted to delete IndexKeyUID. Is that a bad idea?
In fact, I am not sure I know if the index name really matters. Could it be called "George" and still accomplish the same thing?
Index Name Field Name Primary Unique IgnoreNulls
PrimaryKey KeyUID Yes Yes No
IndexKeyUID KeyUID No No No
I am tempted to delete IndexKeyUID. Is that a bad idea?
In fact, I am not sure I know if the index name really matters. Could it be called "George" and still accomplish the same thing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the tips
BTW options>object designers > AutoIndex on Import/create had ID;key;code;num
I deleted all 4.
rberke
BTW options>object designers > AutoIndex on Import/create had ID;key;code;num
I deleted all 4.
rberke
Another thing that will catch you; there is a feature in Access (look in options), that will automatically add an index if it see's a field with "ID", etc in it. Do yourself a favor and turn the feature off.
Jim.