Ö
Özden Irmak
Hello,
In the Jet Sql 4.0 help file, it's mentioned that when you use NO INDEX
clause in a sql command which is going to cretae a foreign key relationship,
it shouldn't create any index for that column. But it doesn't seem to work.
My SQL command is like that :
ALTER TABLE [Tabel2] ADD CONSTRAINT [Tabel1Tabel2] FOREIGN KEY NO INDEX
([Veld1]) REFERENCES [Tabel1] ([Veld1]);
This clause creates an index with the same name as [Tabel1Tabel2] where it
shouldn't. Although when you check trough the Access index view it doesn't
show any index, when you check the table indexes with ADOX.Indexes there
you'll see that it has created an index with the same name.
Is this a bug or am I doing anything wrong?
Thanks in advance for your attention...
Özden
In the Jet Sql 4.0 help file, it's mentioned that when you use NO INDEX
clause in a sql command which is going to cretae a foreign key relationship,
it shouldn't create any index for that column. But it doesn't seem to work.
My SQL command is like that :
ALTER TABLE [Tabel2] ADD CONSTRAINT [Tabel1Tabel2] FOREIGN KEY NO INDEX
([Veld1]) REFERENCES [Tabel1] ([Veld1]);
This clause creates an index with the same name as [Tabel1Tabel2] where it
shouldn't. Although when you check trough the Access index view it doesn't
show any index, when you check the table indexes with ADOX.Indexes there
you'll see that it has created an index with the same name.
Is this a bug or am I doing anything wrong?
Thanks in advance for your attention...
Özden