Displaying stored procedure dependencies

A “dependency” is the relationship between objects that occurs when one object refers to another, such as a stored procedure that refers to a table.

The Stored Procedures general tab has an over view of the information about a stored procedure. It includes information about who created the stored procedure and when, and the group number. This is a static page, except that you can rename the procedure from this page.

The Stored Procedure parameter tab displays information about the attributes of the input parameters. The attributes are:

The Store Procedure parameters tab is a static tab displaying the properties of the parameters for the stored procedure. To change the parameters displayed here, you must change the definition of the procedure by dropping it and recreating it with the new definition.

The Store Procedure permission tab displays a property sheet for the permissions. You can grant execute permissions for a stored procedure to users, groups, or roles.

When you chose a user to whom you want to grant stored procedure execute permission, you can select the property button to display the property sheet for the object you are selecting.

To grant a permission on an object, click in the grid box for the object and type of permission. Continue clicking in the box to cycle through the options:

StepsDisplay dependencies for a stored procedure

  1. Select the stored procedure.

  2. Select File | Properties.

  3. Click the Dependencies button on the General tab of the property sheet.

  4. From the Object Type list, select the type of object you want to view. The options for the Referenced By tab are stored procedures and triggers. The options for the References tab are stored procedures, extended stored procedures, tables, views, and user datatypes.

Shortcuts