CREATE TABLE [dbo].[PayMethod]
(
[PayMethodID] [int] NOT NULL IDENTITY(1, 1),
[Method] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PayMethod] ADD CONSTRAINT [PK_PayMethod] PRIMARY KEY NONCLUSTERED ([PayMethodID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PayMethod] ADD CONSTRAINT [IX_PayMethod_Method] UNIQUE NONCLUSTERED ([Method]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[PayMethod] TO [MssExec]
GRANT INSERT ON [dbo].[PayMethod] TO [MssExec]
GRANT DELETE ON [dbo].[PayMethod] TO [MssExec]
GRANT UPDATE ON [dbo].[PayMethod] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'Method of payment.', 'SCHEMA', N'dbo', 'TABLE', N'PayMethod', 'COLUMN', N'Method'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'PayMethod', 'COLUMN', N'PayMethodID'
GO