Текущий архив: 2003.07.14;
Скачать: CL | DM;
Вниз
Индексы в Paradox Найти похожие ветки
← →
www (2003-06-21 07:59) [0]Доброе утро всем!
Возникла проблема при работе с индексами.
Ключей в таблице нет.
Может я чего-то не учитываю - при добавлении записей, если не отключать индекс - выдается ошибка Index read only, если отключать - добавлять запись - подключать, ошибка Index is out of date, если пересоздавать индекс после добавления, то ошибка - таблица не проиндексирована.
Подскажите как правильно работать с индексами?
Заранее спасибо.
← →
ЮЮ (2003-06-21 08:21) [1]Это всё из-за того, что нет ключа (первичного индекса), поэтому вторичный индекс не обслуживается:
Maintained
Specifies whether to maintain the secondary index automatically.
Maintained indexes are updated by Database Desktop every time the table changes.
This speeds up certain operations like queries.
Maintained indexes are available for keyed tables only.
Non-maintained indexes are updated only when the index is used; for example, when you link tables or run a query.
The operation that uses the secondary index takes slightly longer using a non-maintained index, because Database Desktop must first update the index to recognize values that you have added, deleted, or changed, and then sort the table according to the new index. Also, if a non-maintained index becomes out of date, you cannot use it to change the viewing order of records.
Non-maintained indexes are most useful on tables that are read-only.
← →
Семен Сорокин (2003-06-21 09:20) [2]www (21.06.03 07:59)
Сделай Autoincrement-поле первичным ключом
← →
MsGuns (2003-06-21 13:39) [3]>www (21.06.03 07:59)
>Возникла проблема при работе с индексами.
>Ключей в таблице нет.
Возникла проблема при езде в авто.
Бензина в бензобаке нет
;)))
Страницы: 1 вся ветка
Текущий архив: 2003.07.14;
Скачать: CL | DM;
Память: 0.44 MB
Время: 0.013 c