Subject | Re: [firebird-support] order by using parameter of stored procedure |
---|---|
Author | Tomasz Tyrakowski |
Post date | 2012-03-20T16:48:02Z |
> How to best implement ORDER BY of a query when the field by which toIf the data set returned by the procedure is not very large, return all
> order, is given as stored procedure input parameter?
relevant fields from the procedure and use order by in the query
selecting from the procedure (it won't use indices, so it's only
suitable for reasonably small number of records). Otherwise, I'd opt for
EXECUTE STATEMENT, as Helen suggested.
regards
Tomasz
--
__--==============================--__
__--== Tomasz Tyrakowski ==--__
__--== SOL-SYSTEM ==--__
__--== http://www.sol-system.pl ==--__
__--==============================--__