Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Базы";
Текущий архив: 2002.05.30;
Скачать: [xml.tar.bz2];

Вниз

Что значит   Найти похожие ветки 

 
agrig   (2002-05-01 11:59) [0]

Ошибка появляется при добавлении порядка 300 записей в таблицу в которой уже за тысячу и никаких проблем раньше не было.


 
Shaman_Naydak   (2002-05-01 18:04) [1]

Насколько память мне не изменяет.. это все потому, что ты во время одной транзакции пытаешься сделать тотальную вставку..
Разбей на несколько.. вот такой вот парадокс гадкий и нехороший :)


 
ins   (2002-05-06 15:41) [2]

300 > 255, поэтому смотри выделенное жирным шрифтом.

как средство борьбы (если очень надо чтобы было больше 255 записей) , поставь монопольный доступ к базе:


var
db : TDatabase;
//.....
db.Connected := false;
db.Exclusive := true;
db.Connected := true;


Для справки
Цитата из источника:

The BDE supports local transactions against local Paradox, dBASE, Access, and FoxPro tables. From a coding perspective, there is no difference to you between a local transaction and a transaction against a remote database server.
When a transaction is started against a local table, updates performed against the table are logged. Each log record contains the old record buffer for a record. When a transaction is active, records that are updated are locked until the transaction is committed or rolled back. On rollback, old record buffers are applied against updated records to restore them to their pre-update states.

Local transactions are more limited than transactions against SQL servers or ODBC drivers. In particular, the following limitations apply to local transactions:

Automatic crash recovery is not provided.
Data definition statements are not supported.
Transactions cannot be run against temporary tables.
For Paradox, local transactions can only be performed on tables with valid indexes. Data cannot be rolled back on Paradox tables that do not have indexes.
Only a limited number of records can be locked and modified. With Paradox tables, you are limited to 255 records. With dBASE the limit is 100.
Transactions cannot be run against the BDE ASCII driver.
TransIsolation level must only be set to tiDirtyRead.
Closing a cursor on a table during a transaction rolls back the transaction unless:

Several tables are open.
The cursor is closed on a table to which no changes were made.




Страницы: 1 вся ветка

Форум: "Базы";
Текущий архив: 2002.05.30;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.014 c
1-97274
Vladimir_Ishkiy
2002-05-18 14:51
2002.05.30
Нужна помощь с IE


1-97275
Nat21
2002-05-17 22:47
2002.05.30
Это просто!


1-97273
DenNNis
2002-05-18 15:16
2002.05.30
Поиск нужного файла и возврат пути к нему


3-97146
Sirus
2002-05-04 09:36
2002.05.30
Как создать файл БД InterBase (*.gdb) программно???


1-97276
masik
2002-05-17 14:44
2002.05.30
RichEdit to HTML





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский