I have an embedded SQL in my ASP program that I want to convert into stored procedure. It returns a recordset containing a list of sales people. It goes like this:
"SELECT name, address, phonenumber, region FROM sales_staff ORDER BY name"
I only have done stored procedure returning one record at a time. I do not know how to do it when I need to return more than one record(or list). Could somebody show me how?
Thanks.
"SELECT name, address, phonenumber, region FROM sales_staff ORDER BY name"
I only have done stored procedure returning one record at a time. I do not know how to do it when I need to return more than one record(or list). Could somebody show me how?
Thanks.