Home Forums SQL Server 7,2000 T-SQL Using multi-row resultset from a stored procedure directly RE: Using multi-row resultset from a stored procedure directly

  • Like Yukas said, you could rewrite the SP as a UDF.

    Another alternative would be to keep your SP, but revise it to use a table variable instead of a temp table. 

    If your values for the xp_logininfo parameters will change, then I'd rewrite the SP as a UDF.