Subject | Re: Dynamic Query in Firebird |
---|---|
Author | Milan Babuskov |
Post date | 2007-05-23T16:25:23Z |
--- Tomy Handaka wrote:
approach for you. Take a look at release notes of Firebird 2 for more
info.
--
Milan Babuskov
http://www.guacosoft.com
> How to create a stored procedure that receive sql queryInstead of using stored procedure perhaps EXECUTE BLOCK is the right
> as input parameter and return values based on its input?
>
> The skeleton for the stored procedure is:
>
> create procedure spDynamicQuery(sqlQuery varchar(1024))
> as
> begin
> -- execute statement :sqlQuery here
> end
approach for you. Take a look at release notes of Firebird 2 for more
info.
--
Milan Babuskov
http://www.guacosoft.com