OUTPUT and Recordset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Phlazar
    New Member
    • Aug 2006
    • 1

    #1

    OUTPUT and Recordset

    I have created a 'Intelligent' search stored procedure that accepts two input parameters SearchFor and SearchIn and an OUTPUT parameter @Result

    Basically it starts by looking for a match for the SearchFor and if more than 1 is found, returns a recordset of the matches so the user can select a SearchFor category, at the same time the OUTPUT parameter is set to let the calling script know what is being returned.

    Likewise it does the same for the SearchIn until both are satisfied and the true search results recordset can be returned.

    Is it possible to get an OUTPUT parameter AND a recordset at the same time?

    Any help will be appreciated,

    Phlazar
  • moldster
    New Member
    • Jul 2006
    • 18

    #2
    I would put the results of the stored procedure into a global temp table.....

    Cheers
    C

    Comment

    Working...