Tuesday, March 18, 2008

Stored Procedure and System Tables

System Tables Which contains Stored Procedure Text
SYSCOMMENTS
System table located in all databases containing entries for each view, rule, default, trigger, CHECK constraint, DEFAULT constraint, and stored procedure in the database. The text column contains the original SQL definition statements, which are limited to a maximum size of 4 MB.

SYSCOLUMNS
System table located in all databases containing one row for every column in each table and each view, and a row for each parameter in a stored procedure.

SYSDEPENDS
System table located in all databases containing dependency information between objects (views, procedures, and triggers), and the objects (tables, views, and procedures) contained in their definition.

SYSCACHEOBJECTS
System table located in the master database containing information about how the cache is used.

No comments:

Post a Comment