Tables [dbo].[XmlSystemTimeclock]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:16:13 AM Friday, November 8, 2024
Last Modified9:16:13 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_XmlSystemTimeclock: XmlSystemTimeclockIdXmlSystemTimeclockIdint4
No
1 - 1
Indexes IX_XmlSystemTimeclock_Timeclock: TimeclockTimeclocknvarchar(64)128
No
Foreign Keys FK_XmlSystemTimeclock_XmlSystem: [dbo].[XmlSystem].XmlSystemFidIndexes IX_XmlSystemTimeclock_XmlSystemFid: XmlSystemFidXmlSystemFidint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_XmlSystemTimeclock: XmlSystemTimeclockIdPK_XmlSystemTimeclockXmlSystemTimeclockId
Yes
IX_XmlSystemTimeclock_TimeclockTimeclock
Yes
IX_XmlSystemTimeclock_XmlSystemFidXmlSystemFid
Foreign Keys Foreign Keys
NameColumns
FK_XmlSystemTimeclock_XmlSystemXmlSystemFid->[dbo].[XmlSystem].[XmlSystemID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlSystemTimeclock]
(
[XmlSystemTimeclockId] [int] NOT NULL IDENTITY(1, 1),
[Timeclock] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[XmlSystemFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemTimeclock] ADD CONSTRAINT [PK_XmlSystemTimeclock] PRIMARY KEY CLUSTERED  ([XmlSystemTimeclockId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemTimeclock] ADD CONSTRAINT [IX_XmlSystemTimeclock_Timeclock] UNIQUE NONCLUSTERED  ([Timeclock]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_XmlSystemTimeclock_XmlSystemFid] ON [dbo].[XmlSystemTimeclock] ([XmlSystemFid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemTimeclock] ADD CONSTRAINT [FK_XmlSystemTimeclock_XmlSystem] FOREIGN KEY ([XmlSystemFid]) REFERENCES [dbo].[XmlSystem] ([XmlSystemID])
GO
GRANT SELECT ON  [dbo].[XmlSystemTimeclock] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlSystemTimeclock] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlSystemTimeclock] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlSystemTimeclock] TO [MssExec]
GO
Uses
Used By