Subject Re: [firebird-support] Dynamic Query in Firebird
Author Martijn Tonies
> Yeah, that is the main problem. I have to define [an exact number of]
output variables in stored procedure, but it have to be dynamic since the
stored procedure can receive ANY sql query.
>
> How to make this 'return values' dinamic, based on SQL query in its input?
>
> Any suggestions?

Don't use a Stored Procedure... :-)

Why do you want to use one in this case?

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com