Tables [dbo].[BranchLocation]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:00:06 PM Thursday, December 6, 2018
Last Modified4:00:07 PM Thursday, December 6, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDescription
Cluster Primary Key PK_BranchLocation: BranchLocationIDBranchLocationIDint4
No
1 - 1The primary key.
Indexes IX_BranchLocation_Description: DescriptionDescriptionvarchar(40)40
No
The user friendly description of this branch location.
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_BranchLocation: BranchLocationIDPK_BranchLocationBranchLocationID
Yes
IX_BranchLocation_DescriptionDescription
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[BranchLocation]
(
[BranchLocationID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (40) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BranchLocation] ADD CONSTRAINT [PK_BranchLocation] PRIMARY KEY CLUSTERED  ([BranchLocationID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[BranchLocation] ADD CONSTRAINT [IX_BranchLocation_Description] UNIQUE NONCLUSTERED  ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[BranchLocation] TO [MssExec]
GRANT INSERT ON  [dbo].[BranchLocation] TO [MssExec]
GRANT DELETE ON  [dbo].[BranchLocation] TO [MssExec]
GRANT UPDATE ON  [dbo].[BranchLocation] TO [MssExec]
GO
EXEC sp_addextendedproperty N'MS_Description', N'The primary key.', 'SCHEMA', N'dbo', 'TABLE', N'BranchLocation', 'COLUMN', N'BranchLocationID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'The user friendly description of this branch location.', 'SCHEMA', N'dbo', 'TABLE', N'BranchLocation', 'COLUMN', N'Description'
GO
Uses
Used By