I need to process through a table of people, for each person execute a stored procedure and then store the results of the stored procedure in another (temporary) table.
the stored procedure is:
cusAging GuarantorId, getdate(),NULL,NULL
which returns a row
So, how do I process each row of Guarantor, call the stored procedure, and then get the columns of the returned row and write into another table?
Thanks for any help!
David
the stored procedure is:
cusAging GuarantorId, getdate(),NULL,NULL
which returns a row
So, how do I process each row of Guarantor, call the stored procedure, and then get the columns of the returned row and write into another table?
Thanks for any help!
David