Tables [dbo].[MssTimeZone]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)136
Created8:44:32 AM Thursday, December 5, 2024
Last Modified8:45:17 AM Thursday, December 5, 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