Subject | Re: [firebird-support] What is the proper transaction level |
---|---|
Author | Tim |
Post date | 2005-06-15T11:32:06Z |
> >I have read that I should use "snapshot".What I do (and I am NOT saying it is the "right" way to do this) in this
> >
> >If using snapshot is the correct choice (for possible queries that my
> >sit on a users display for hours),
>
>Snapshot is no better for queries that sit on a user's display for
>hours. That kind of query should be a read-only query in read committed
>isolation.
situation is to read the values from a query into variables, close the
query (and commit the transaction) and display those on the screen for the
user.
What this would do is to "cut" the dependency on a query being open more
than is absolutely necessary.
Regards
Tim
[Non-text portions of this message have been removed]