Hi
You could try the following:
CREATE PROCEDURE dbo.GET_DATA @name varchar(50), @startdate datetime, @enddate datetime
AS
PRINT @name
PRINT @startdate
PRINT @enddate
---your procedure code
GO
-- test the variables
exec get_data 'John', '2002-11-29', '2002-12-03'
This will print the values in the variables into the Query Analyser results pane if you exec the proc in Query Analyser.
Hope this helps
John