Tables [dbo].[Ownership]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)1
Created10:56:42 AM Monday, May 4, 2015
Last Modified9:05:10 AM Friday, November 22, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_Ownership: OwnershipIDOwnershipIDint4
No
1 - 1
Indexes IX_Ownership_Description: DescriptionDescriptionvarchar(64)64
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_Ownership: OwnershipIDPK_OwnershipOwnershipID
Yes
IX_Ownership_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[Ownership]
(
[OwnershipID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Ownership] ADD CONSTRAINT [PK_Ownership] PRIMARY KEY NONCLUSTERED  ([OwnershipID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Ownership] ADD CONSTRAINT [IX_Ownership_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[Ownership] TO [MssExec]
GRANT INSERT ON  [dbo].[Ownership] TO [MssExec]
GRANT DELETE ON  [dbo].[Ownership] TO [MssExec]
GRANT UPDATE ON  [dbo].[Ownership] TO [MssExec]
GO
Uses
Used By