Subject | RE: [firebird-support] Re: Bulk inserts in Interbase |
---|---|
Author | Leyne, Sean |
Post date | 2005-01-26T00:13:58Z |
Edwin,
This was of all Interbase releases (v6.0 and prior -- can't speak to
6.5+) but Firebird v1.0.0 changed the logic.
Now, all file locks are released when the external table is dropped and
the metadata changes are committed.
Sean
> Second Firebird/Interbase create a file lock on the external tablefile
> once the SQL statement used to create the external table is committed.If
> you attempt to delete this file after the "Bulk" insert statement itwill
> fail.is
> Even if you delete the external table from the metadata, the file lock
> not released. I have found that only stopping the service itself willexternal
> release the lock. This effectively prevents you from using one
> table "BOBS_EXTERNAL_TABLE" and then just changing the file it linksto.
This was of all Interbase releases (v6.0 and prior -- can't speak to
6.5+) but Firebird v1.0.0 changed the logic.
Now, all file locks are released when the external table is dropped and
the metadata changes are committed.
Sean