Subject | Re: [firebird-support] Query runs extremely slow when run inside a stored procedure |
---|---|
Author | Martijn Tonies |
Post date | 2011-03-11T08:46Z |
> I've tried the following (individual changes):And the SUSPEND?
>
> * Removed the for, and just selected into local variables
>
> * Used just the derived table SQL (still slow), and removed the
> outer select, so now it's just a plain select with no fancy work, just a
> max on a string concatenation.
>
> * Restarting firebird (v 2.1.2 btw)
>
> * Restarting PC
>
> * Dropping and re-creating
>
> All still take much longer in the stored procedure.
With regards,
Martijn Tonies
Upscene Productions
http://www.upscene.com
Download Database Workbench for Oracle, MS SQL Server, Sybase SQL
Anywhere, MySQL, InterBase, NexusDB and Firebird!