Subject | Re: performance question |
---|---|
Author | Alexander V.Nevsky |
Post date | 2004-04-19T15:38:45Z |
--- In firebird-support@yahoogroups.com, Sudheer Palaparambil
<p_sudheers@y...> wrote:
stored procedure which returns needed result set.
is better in the sense of created garbage, but you can't drop table
which have dependencies (used in stored procedure, for example). Note
you should commit metadata changes before usage in DML too.
Best regards,
Alexander.
<p_sudheers@y...> wrote:
> Hi,For FB the best suited is don't use such a table at all but use
>
> I am using some tables (like sybase's temporary
> table) for report generation purpose. I usually
> delete all records from the table on calling
> the SP and fill the table again with the data and
> return the result set.
>
> My question is which one is best suited for FB ?
stored procedure which returns needed result set.
> To create and drop the table each time or deleteIf usage of "temporary" table is still inavoidable, create and drop
> the record each time ?
is better in the sense of created garbage, but you can't drop table
which have dependencies (used in stored procedure, for example). Note
you should commit metadata changes before usage in DML too.
Best regards,
Alexander.