Subject Re: ??? HELP -->Is There Any Way of returning the complete recordset instead of
Author Svein Erling Tysvær
--- In firebird-support@yahoogroups.com, "kapilpatil84firebird" wrote:
>
> Is There Any Way of returning the complete recordset instead of one or
> two columns
>
> Because Have to return the rows from the table which is having More
> than 70 Columns and it is not feasible to Returns 70 Variables from SP
>
> Thanks In Advance!!!

Why do you want to use a stored procedure to return 70 columns? As
Martijn said, if you want to use a stored procedure to return these
columns, you have to make each of them return variables. But I think
it is possible to write SQL that joins the output of a SP to a table,
so that something like

SELECT t.*
FROM stored_procedure() sp
LEFT JOIN table1 t on t.fieldname = sp.outputvariable

could return 70 columns.

Set