Subject | Re: [firebird-support] Multiple values in a single INSERT query example |
---|---|
Author | Dean Harding |
Post date | 2008-01-13T23:12:15Z |
Ann W. Harrison wrote:
multiple INSERT statements. If Firebird is running on a different
physical machine (even out-of-proc would make a difference) then the
round-trip time could become significant.
Dean.
> Multiple values are of much less interest if you prepare your queries.There is also the problem of multiple round-trips to the server with
> The advantage of multiple values per insert is primarily that the
> database doesn't have to parse, compile, and optimize the query for
> each set of values. Prepared statements do that too. EXECUTE BLOCK
> doesn't.
multiple INSERT statements. If Firebird is running on a different
physical machine (even out-of-proc would make a difference) then the
round-trip time could become significant.
Dean.