Главная страница
    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.004 c
1-97219
Denis Voskvitsov
2002-05-20 14:43
2002.05.30
TMemo


14-97421
Kolyan
2002-04-22 17:22
2002.05.30
MS SQL и DBF таблицы


4-97464
ledic
2002-03-28 14:45
2002.05.30
Закрытие внешней программы


1-97256
Destroyer
2002-05-21 09:59
2002.05.30
И все-таки проблема, однако!!!


1-97226
Dr.Pipe
2002-05-18 20:22
2002.05.30
Помогите с двумя формами





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
Английский Французский Немецкий Итальянский Португальский Русский Испанский