Describing stored procedure parameters
DavidAtABC
Posts: 16
Is there a way to attach a description to stored procedure parameters, to all a description of their function, for example - similar to table row descriptions?
And how is this displayed in SQL Doc?
Thanks,
David.
And how is this displayed in SQL Doc?
Thanks,
David.
Comments
If you are using SQL 2005 then the parameter should be listed just above the SQL Script. (Check out AdventureWorks SPs like [HumandResources].[uspUpdateEmployeeHireInfo] have all their params documented.)However I donot think that parameters are shown/displayed for SQL 2000 databases.
Hope that helps
David
Here is a example what a free tool can do: http://www.sqlservercentral.com/article ... qldoc/678/
Can RedGate implement this?
Let me know if you're looking for different functionality/behaviour.
Kind regards,
David Atkinson
Red Gate Software
Product Manager
Redgate Software
I think that Microsoft had documented all these attributes in books on line.
I have just looked in "SQL Server 2005 Books Online" under the topic sp_addextendedproperty. Hope that helps.
Kind regards
David Connell
Maybe I have to clarify more:
I have a self made stored procedure and I want to describe the parameters of that procedure. How can I get that description in SQL doc behind the parameters?
Thnx