Показать сообщение отдельно
Старый 07.11.2006, 10:26   #2  
Maxim Gorbunov is offline
Maxim Gorbunov
Administrator
Соотечественники
Лучший по профессии 2009
 
2,483 / 645 (26) +++++++
Регистрация: 27.11.2001
Адрес: Dubai, UAE
Странно. Не нашел этот параметр в списке

В любом случае, конфигурационная утилита, по-моему, не лучшее место для указания такого рода параметров. Что будет, если одному из клиентов такой параметр в утилите забудут прописать?

Есть еще один способ достижения точно такого же эффекта. Для этого надо изменить значение параметра INDEX в таблице SQLSYSTEMVARIABLES. Вот описание значений этого параметра:
Цитата:
System Variable
INDEX

Values
Value ‘0’ for indexes not supported, or
one or more of the other options
added together:


0 : Not supporting indexes.

1 : Default flag for enabling index
support.

2 : Index generation reversed (i.e.
most important index generated last).

4 : Allow DESC on index components
in CREATE INDEX statement.

8 : Add table qualifiers to index
names.

16: Put the DATAAREAID (the
“company field) last in indexes, and do
not put the field in the ORDER BY
clause at all.

32: This session is using “RECIDs per
company”, which consequently will
add the DATAAREAID to the built-in
RecId-index.

64: This session is using “RECIDs per
company+table”
Сразу хочу предупредить, что описание не исчерпывающее. Например, у меня в БД значение этого параметра - 297 (256 + 32 + 8 + 1). За что отвечает значение 256, я не знаю.
__________________
Not registered yet? Register here!
Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me

Последний раз редактировалось Maxim Gorbunov; 07.11.2006 в 10:43.
За это сообщение автора поблагодарили: mazzy (5), Garic (2), belugin (8), Logger (2), alex55 (1), SRF (2).