Tables [dbo].[RollOuts]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)15
Created4:57:08 PM Thursday, September 7, 2006
Last Modified11:13:43 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_ROLLOUTS: RollOutIDRollOutIDint4
No
1 - 1
Foreign Keys FK_ROLLOUTS_PROFILES: [dbo].[Profiles].ProfileIDProfileIDint4
No
RolloutNamevarchar(20)20
No
MarkupPersmallint2
Yes
InvoicePrefixvarchar(5)5
Yes
InvoiceNoint4
Yes
InvoiceByint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_ROLLOUTS: RollOutIDPK_ROLLOUTSRollOutID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_ROLLOUTS_PROFILESProfileID->[dbo].[Profiles].[ProfileID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[RollOuts]
(
[RollOutID] [int] NOT NULL IDENTITY(1, 1),
[ProfileID] [int] NOT NULL,
[RolloutName] [varchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MarkupPer] [smallint] NULL,
[InvoicePrefix] [varchar] (5) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[InvoiceNo] [int] NULL,
[InvoiceBy] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RollOuts] ADD CONSTRAINT [PK_ROLLOUTS] PRIMARY KEY CLUSTERED  ([RollOutID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RollOuts] ADD CONSTRAINT [FK_ROLLOUTS_PROFILES] FOREIGN KEY ([ProfileID]) REFERENCES [dbo].[Profiles] ([ProfileID])
GO
GRANT SELECT ON  [dbo].[RollOuts] TO [MssExec]
GRANT INSERT ON  [dbo].[RollOuts] TO [MssExec]
GRANT DELETE ON  [dbo].[RollOuts] TO [MssExec]
GRANT UPDATE ON  [dbo].[RollOuts] TO [MssExec]
GO
Uses
Used By