Tables [dbo].[MssTimeZone]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)136
Created9:10:04 AM Friday, November 8, 2024
Last Modified9:10:44 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_MssTimeZone: MssTimeZoneIDMssTimeZoneIDint4
No
1 - 1
Indexes IX_MssTimeZone_IanaID: IanaIDIanaIDvarchar(64)64
No
Indexes IX_MssTimeZone_WindowsID: WindowsIDWindowsIDvarchar(64)64
No
Indexes IX_MssTimeZone_WindowsDisplayName: WindowsDisplayNameWindowsDisplayNamevarchar(64)64
No
Indexes IX_MssTimeZone_DisplayOrder: DisplayOrderDisplayOrderint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_MssTimeZone: MssTimeZoneIDPK_MssTimeZoneMssTimeZoneID
Yes
IX_MssTimeZone_DisplayOrderDisplayOrder
Yes
IX_MssTimeZone_IanaIDIanaID
Yes
IX_MssTimeZone_WindowsDisplayNameWindowsDisplayName
Yes
IX_MssTimeZone_WindowsIDWindowsID
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MssTimeZone]
(
[MssTimeZoneID] [int] NOT NULL IDENTITY(1, 1),
[IanaID] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[WindowsID] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[WindowsDisplayName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DisplayOrder] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssTimeZone] ADD CONSTRAINT [PK_MssTimeZone] PRIMARY KEY CLUSTERED  ([MssTimeZoneID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssTimeZone] ADD CONSTRAINT [IX_MssTimeZone_DisplayOrder] UNIQUE NONCLUSTERED  ([DisplayOrder]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssTimeZone] ADD CONSTRAINT [IX_MssTimeZone_IanaID] UNIQUE NONCLUSTERED  ([IanaID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssTimeZone] ADD CONSTRAINT [IX_MssTimeZone_WindowsDisplayName] UNIQUE NONCLUSTERED  ([WindowsDisplayName]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MssTimeZone] ADD CONSTRAINT [IX_MssTimeZone_WindowsID] UNIQUE NONCLUSTERED  ([WindowsID]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[MssTimeZone] TO [MssExec]
GRANT INSERT ON  [dbo].[MssTimeZone] TO [MssExec]
GRANT DELETE ON  [dbo].[MssTimeZone] TO [MssExec]
GRANT UPDATE ON  [dbo].[MssTimeZone] TO [MssExec]
GO
Uses
Used By