Re: [SQL] How to return a select query

2007-03-03 Thread Rodrigo De León
On 3/3/07, Eugenio Flores <[EMAIL PROTECTED]> wrote: Hello. I would like to know how can I return a select expresion, and stored in a variable, as cursors, but without the need of fetching it, and just to get the hole resultset. For example. I want to get this query: Select * from table1, and s

[SQL] How to return a select query

2007-03-03 Thread Eugenio Flores
Hello. I would like to know how can I return a select expresion, and stored in a variable, as cursors, but without the need of fetching it, and just to get the hole resultset. For example. I want to get this query: Select * from table1, and stored in a variable that I can return to, like a row