CREATE TABLE [dbo].[IGCLink]
(
[IGCLinkPriKey] [int] NOT NULL IDENTITY(1, 1),
[OrdPriKey] [int] NULL,
[MoveID] [int] NULL,
[SurveyID] [int] NULL,
[IGCDatabase] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LastNoteRetrieved] [datetime] NULL,
[LastNoteSent] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[IGCLink] ADD CONSTRAINT [PK_IGCLink] PRIMARY KEY CLUSTERED ([IGCLinkPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[IGCLink] TO [MssExec]
GRANT INSERT ON [dbo].[IGCLink] TO [MssExec]
GRANT DELETE ON [dbo].[IGCLink] TO [MssExec]
GRANT UPDATE ON [dbo].[IGCLink] TO [MssExec]
GO