R
rn5a
Assume that a MS-Access DB table has 5 columns - Col1, Col2, Col3,
Col4 & Col5.
I create a multi-field index using all the columns i.e. the index
looks like this
Col1 (UNIQUE = Yes)
Col2
Col3
Col4
Col5
Can someone please tell whether the order in which the columns are
placed in a multifield index) (for e.g. in the above e.g. Col1 comes
first followed by Col2 followed by Col3 followed by Col4 & finally
comes Col5) plays a role while records are being inserted in the DB
table? Or please point me to some articles to learn about the basics
of MS-Access multi-field index. In ther words, is the above multi-
field index the same as the following multi-field index (note the
change in column order)?
Col3 (UNIQUE = Yes)
Col5
Col2
Col1
Col4
I have googled on this topic but most of them tell about how to create
multi-field index (Click View-->Indexes menu, then enter a name for
the index in the 1st column in the Index Properties window, select a
field in the 2nd column, set the index UNIQUE property to Yes, add
more columns under the 1st selected field in the 2nd column but don't
give a name to the index again etc.etc..). I know how to create multi-
field indexes but I want to know how they work & implement uniqueness.
Thanks,
RON
Col4 & Col5.
I create a multi-field index using all the columns i.e. the index
looks like this
Col1 (UNIQUE = Yes)
Col2
Col3
Col4
Col5
Can someone please tell whether the order in which the columns are
placed in a multifield index) (for e.g. in the above e.g. Col1 comes
first followed by Col2 followed by Col3 followed by Col4 & finally
comes Col5) plays a role while records are being inserted in the DB
table? Or please point me to some articles to learn about the basics
of MS-Access multi-field index. In ther words, is the above multi-
field index the same as the following multi-field index (note the
change in column order)?
Col3 (UNIQUE = Yes)
Col5
Col2
Col1
Col4
I have googled on this topic but most of them tell about how to create
multi-field index (Click View-->Indexes menu, then enter a name for
the index in the 1st column in the Index Properties window, select a
field in the 2nd column, set the index UNIQUE property to Yes, add
more columns under the 1st selected field in the 2nd column but don't
give a name to the index again etc.etc..). I know how to create multi-
field indexes but I want to know how they work & implement uniqueness.
Thanks,
RON