Subject | Re: [firebird-support] Which is quicker? |
---|---|
Author | Ann W. Harrison |
Post date | 2005-11-07T17:39:05Z |
tomconlon7777777 wrote:
the insert statement... I suppose you've got an extra if test
in the inner loop, but in 2 & 3 you're evaluating two input values.
My guess is it won't make much difference either way.
Regards,
Ann
>The default is evaluated at compile time and turned into part of
> INSERT INTO qrytmp1 ...
> 1. SELECT id FROM x (qtype default fires)
> 2. SELECT id, 'C' FROM x (qtype explicit)
> 3. SELECT id, 'C' FROM x (lose default, qtype explicit)
>
> Is (3) is the quickest?
the insert statement... I suppose you've got an extra if test
in the inner loop, but in 2 & 3 you're evaluating two input values.
My guess is it won't make much difference either way.
Regards,
Ann