[dbo].[ShipmentStatusKeyDate]
CREATE TABLE [dbo].[ShipmentStatusKeyDate]
(
[ShipmentStatusKeyDateID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShipmentStatusKeyDate] ADD CONSTRAINT [PK_ShipmentStatusKeyDate] PRIMARY KEY NONCLUSTERED ([ShipmentStatusKeyDateID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ShipmentStatusKeyDate] ADD CONSTRAINT [IX_ShipmentStatusKeyDate_Description] UNIQUE NONCLUSTERED ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[ShipmentStatusKeyDate] TO [MssExec]
GRANT INSERT ON [dbo].[ShipmentStatusKeyDate] TO [MssExec]
GRANT DELETE ON [dbo].[ShipmentStatusKeyDate] TO [MssExec]
GRANT UPDATE ON [dbo].[ShipmentStatusKeyDate] TO [MssExec]
GO
EXEC sp_addextendedproperty N'Description', N'Holds a vanline shipment status key date.', 'SCHEMA', N'dbo', 'TABLE', N'ShipmentStatusKeyDate', NULL, NULL
GO
EXEC sp_addextendedproperty N'Description', N'Primary key of the ShipmentStatusKeyDate table.', 'SCHEMA', N'dbo', 'TABLE', N'ShipmentStatusKeyDate', 'COLUMN', N'ShipmentStatusKeyDateID'
GO