This script is to generate a stored procedure list using the little known SP sp_sproc_columns. The output is a table containing one row per parameter of each stored procedure, broken down by schema, proc name, parameter name and includes details on datatype and nullability.
This is designed to be useful if you're documenting your DB and/or building an offline data dictionary.
Usage:
1. Copy and paste script into a new stored procedure of your choice.
2. Run script ad-hoc (copy/paste and F5) to generate an immediate list.
Example output:
<see screenshot>