CREATE TABLE [dbo].[JoinOperator]
(
[JoinOperatorID] [int] NOT NULL IDENTITY(1, 1),
[JoinOperatorDescription] [varchar] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[EnglishDescription] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_JoinOperator_EnglishDescription] DEFAULT ('')
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[JoinOperator] ADD CONSTRAINT [CK_JoinOperator_Description] CHECK (([JoinOperatorDescription]='and' OR [JoinOperatorDescription]='or'))
GO
ALTER TABLE [dbo].[JoinOperator] ADD CONSTRAINT [PK_JoinOperator] PRIMARY KEY NONCLUSTERED ([JoinOperatorID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[JoinOperator] ADD CONSTRAINT [IX_JoinOperatorDescription] UNIQUE NONCLUSTERED ([JoinOperatorDescription]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[JoinOperator] TO [MssExec]
GRANT INSERT ON [dbo].[JoinOperator] TO [MssExec]
GRANT DELETE ON [dbo].[JoinOperator] TO [MssExec]
GRANT UPDATE ON [dbo].[JoinOperator] TO [MssExec]
GO