Tables [dbo].[Shows]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:57:08 PM Thursday, September 7, 2006
Last Modified10:46:03 AM Thursday, April 21, 2011
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_Shows: PriKeyPriKeyint4
No
1 - 1
Indexes IX_Shows_Code: CodeCodevarchar(4)4
No
Descriptionvarchar(50)50
No
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_Shows: PriKeyPK_ShowsPriKey
Yes
80
IX_Shows_CodeCode
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[Shows]
(
[PriKey] [int] NOT NULL IDENTITY(1, 1),
[Code] [varchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Shows] ADD CONSTRAINT [PK_Shows] PRIMARY KEY CLUSTERED  ([PriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Shows] ADD CONSTRAINT [IX_Shows_Code] UNIQUE NONCLUSTERED  ([Code]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[Shows] TO [MssExec]
GRANT INSERT ON  [dbo].[Shows] TO [MssExec]
GRANT DELETE ON  [dbo].[Shows] TO [MssExec]
GRANT UPDATE ON  [dbo].[Shows] TO [MssExec]
GO
Uses
Used By