CREATE TABLE [dbo].[GpTableUpdates]
(
[GpTableUpdatesId] [int] NOT NULL IDENTITY(1, 1),
[GpTableName] [sys].[sysname] NOT NULL,
[UpdateLevel] [int] NOT NULL CONSTRAINT [DF_GpTableUpdates_UpdateLevel] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[GpTableUpdates] ADD CONSTRAINT [PK_GpTableUpdates] PRIMARY KEY CLUSTERED ([GpTableUpdatesId]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_GpTableUpdates_GpTableName] ON [dbo].[GpTableUpdates] ([GpTableName]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[GpTableUpdates] TO [MssExec]
GRANT INSERT ON [dbo].[GpTableUpdates] TO [MssExec]
GRANT DELETE ON [dbo].[GpTableUpdates] TO [MssExec]
GRANT UPDATE ON [dbo].[GpTableUpdates] TO [MssExec]
GO