You can use extended properties to store the definition in the "catalog"By I prefer to keep my own data dictionary tablesSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOIF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[RHO_Columns]') AND type in (N'U'))BEGINCREATE TABLE [dbo].[RHO_Columns]( [TABLE_CATALOG] [nvarchar](128) NULL, [TABLE_SCHEMA] [sysname] NULL, [TABLE_NAME] [sysname] NOT NULL, [COLUMN_NAME] [sysname] NULL, [IONS_Id] [char](5) NULL, [Comments] [varchar](max) NULL, [Add_by] [varchar](7) NOT NULL, [Upd_by] [varchar](7) NOT NULL, [Add_Dt] [datetime] NOT NULL, [Upd_Dt] [datetime] NOT NULL) ON [PRIMARY]ENDGOSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOIF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[RHO_Tables]') AND type in (N'U'))BEGINCREATE TABLE [dbo].[RHO_Tables]( [TABLE_CATALOG] [nvarchar](128) NULL, [TABLE_SCHEMA] [sysname] NULL, [TABLE_NAME] [sysname] NOT NULL, [Comments] [varchar](max) NULL, [Add_by] [varchar](7) NOT NULL, [Upd_by] [varchar](7) NOT NULL, [Add_Dt] [datetime] NOT NULL, [Upd_Dt] [datetime] NOT NULL) ON [PRIMARY]END
Brett8-)Hint: Want your questions answered fast? Follow the direction in this linkhttp://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspxAdd yourself!http://www.frappr.com/sqlteam