[dbo].[MSSDocumentImageDB]
CREATE TABLE [dbo].[MSSDocumentImageDB]
(
[MSSDocumentImageDBID] [int] NOT NULL IDENTITY(1, 1),
[DatabaseName] [sys].[sysname] NOT NULL,
[IsRemoved] [bit] NOT NULL CONSTRAINT [DF_MSSDocumentImageDB_IsRemoved] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MSSDocumentImageDB] ADD CONSTRAINT [PK_MSSDocumentImageDB] PRIMARY KEY CLUSTERED ([MSSDocumentImageDBID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MSSDocumentImageDB] ADD CONSTRAINT [IX_MSSDocumentImageDB_DatabaseName] UNIQUE NONCLUSTERED ([DatabaseName]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[MSSDocumentImageDB] TO [MssExec]
GRANT INSERT ON [dbo].[MSSDocumentImageDB] TO [MssExec]
GRANT DELETE ON [dbo].[MSSDocumentImageDB] TO [MssExec]
GRANT UPDATE ON [dbo].[MSSDocumentImageDB] TO [MssExec]
GO