Tables [dbo].[MoversConnectStatus]
Properties
PropertyValue
HeapYes
Row Count (~)5
Created10:34:27 AM Monday, March 30, 2015
Last Modified10:34:27 AM Monday, March 30, 2015
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_MoversConnectStatus: MoversConnectStatusIDMoversConnectStatusIDint4
No
1 - 1
Foreign Keys FK_MoversConnectStatus_MoversConnectPoller: [dbo].[MoversConnectPoller].MoversConnectPollerFIDIndexes IX_MoversConnectStatus_MoversConnectPoller: MoversConnectPollerFIDMoversConnectPollerFIDint4
No
ServiceStarteddatetime8
Yes
ServiceStoppeddatetime8
Yes
LastMessagedatetime8
Yes
LastMessageIDReceivedbigint8
Yes
LastMessageIDAckedbigint8
Yes
CountersResetDatedatetime8
No
MessagesReceivedbigint8
No
MessagesProcessedbigint8
No
ErrorsHandledbigint8
No
ProcessingTimeUnitsbigint8
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_MoversConnectStatus: MoversConnectStatusIDPK_MoversConnectStatusMoversConnectStatusID
Yes
IX_MoversConnectStatus_MoversConnectPollerMoversConnectPollerFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_MoversConnectStatus_MoversConnectPollerMoversConnectPollerFID->[dbo].[MoversConnectPoller].[MoversConnectPollerID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MoversConnectStatus]
(
[MoversConnectStatusID] [int] NOT NULL IDENTITY(1, 1),
[MoversConnectPollerFID] [int] NOT NULL,
[ServiceStarted] [datetime] NULL,
[ServiceStopped] [datetime] NULL,
[LastMessage] [datetime] NULL,
[LastMessageIDReceived] [bigint] NULL,
[LastMessageIDAcked] [bigint] NULL,
[CountersResetDate] [datetime] NOT NULL,
[MessagesReceived] [bigint] NOT NULL,
[MessagesProcessed] [bigint] NOT NULL,
[ErrorsHandled] [bigint] NOT NULL,
[ProcessingTimeUnits] [bigint] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MoversConnectStatus] ADD CONSTRAINT [PK_MoversConnectStatus] PRIMARY KEY NONCLUSTERED  ([MoversConnectStatusID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MoversConnectStatus] ADD CONSTRAINT [IX_MoversConnectStatus_MoversConnectPoller] UNIQUE NONCLUSTERED  ([MoversConnectPollerFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MoversConnectStatus] ADD CONSTRAINT [FK_MoversConnectStatus_MoversConnectPoller] FOREIGN KEY ([MoversConnectPollerFID]) REFERENCES [dbo].[MoversConnectPoller] ([MoversConnectPollerID])
GO
GRANT SELECT ON  [dbo].[MoversConnectStatus] TO [MssExec]
GRANT INSERT ON  [dbo].[MoversConnectStatus] TO [MssExec]
GRANT DELETE ON  [dbo].[MoversConnectStatus] TO [MssExec]
GRANT UPDATE ON  [dbo].[MoversConnectStatus] TO [MssExec]
GO
Uses