I'm new to stored procedures, and I can't figure out how to run a stored procedure to get a result set from Enterprise manager.
I have the following SP:
MSDN sais to:
1 In Data View, expand the Stored Procedures folder.
2 Right-click the name of the stored procedure that you want to run.
3 Choose Execute from the shortcut menu. The Output window shows the status of the stored procedure.
The problem is that I don't have an execute command there.
I am running Enterprise Manager for SQL server 2000
thanks fo ryour help
I have the following SP:
Code:
CREATE PROC au_info @lastname varchar(40), @firstname varchar(20)
AS
SELECT lname, fname, ts
FROM tester
WHERE fname = @firstname
AND lname = @lastname
GO
MSDN sais to:
1 In Data View, expand the Stored Procedures folder.
2 Right-click the name of the stored procedure that you want to run.
3 Choose Execute from the shortcut menu. The Output window shows the status of the stored procedure.
The problem is that I don't have an execute command there.
I am running Enterprise Manager for SQL server 2000
thanks fo ryour help