Tables [dbo].[Notifications]
Properties
PropertyValue
CollationLatin1_General_CI_AS_KS_WS
Row Count0
Created12:33:31 PM Tuesday, March 06, 2007
Last Modified12:33:31 PM Tuesday, March 06, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_Notifications: NotificationIDNotificationIDuniqueidentifier16
No
Foreign Keys FK_Notifications_Subscriptions: [dbo].[Subscriptions].SubscriptionIDSubscriptionIDuniqueidentifier16
No
ActivationIDuniqueidentifier16
Yes
ReportIDuniqueidentifier16
No
SnapShotDatedatetime8
Yes
ExtensionSettingsntextmax
No
Localenvarchar(128)256
No
Parametersntextmax
Yes
Indexes IX_Notifications2: ProcessStartProcessStartdatetime8
Yes
Indexes IX_Notifications3: NotificationEnteredNotificationEntereddatetime8
No
Indexes IX_Notifications: ProcessAfterProcessAfterdatetime8
Yes
Attemptint4
Yes
SubscriptionLastRunTimedatetime8
No
DeliveryExtensionnvarchar(260)520
No
SubscriptionOwnerIDuniqueidentifier16
No
IsDataDrivenbit1
No
BatchIDuniqueidentifier16
Yes
ProcessHeartbeatdatetime8
Yes
Versionint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_Notifications: NotificationIDPK_NotificationsNotificationID
Yes
IX_NotificationsProcessAfter
IX_Notifications2ProcessStart
IX_Notifications3NotificationEntered
Foreign Keys Foreign Keys
NameNo CheckDeleteColumns
FK_Notifications_Subscriptions
Yes
CascadeSubscriptionID->[dbo].[Subscriptions].[SubscriptionID]
Permissions
TypeActionOwning Principal
GrantDeleteRSExecRole
GrantInsertRSExecRole
GrantReferencesRSExecRole
GrantSelectRSExecRole
GrantUpdateRSExecRole
SQL Script
CREATE TABLE [dbo].[Notifications]
(
[NotificationID] [uniqueidentifier] NOT NULL,
[SubscriptionID] [uniqueidentifier] NOT NULL,
[ActivationID] [uniqueidentifier] NULL,
[ReportID] [uniqueidentifier] NOT NULL,
[SnapShotDate] [datetime] NULL,
[ExtensionSettings] [ntext] COLLATE Latin1_General_CI_AS_KS_WS NOT NULL,
[Locale] [nvarchar] (128) COLLATE Latin1_General_CI_AS_KS_WS NOT NULL,
[Parameters] [ntext] COLLATE Latin1_General_CI_AS_KS_WS NULL,
[ProcessStart] [datetime] NULL,
[NotificationEntered] [datetime] NOT NULL,
[ProcessAfter] [datetime] NULL,
[Attempt] [int] NULL,
[SubscriptionLastRunTime] [datetime] NOT NULL,
[DeliveryExtension] [nvarchar] (260) COLLATE Latin1_General_CI_AS_KS_WS NOT NULL,
[SubscriptionOwnerID] [uniqueidentifier] NOT NULL,
[IsDataDriven] [bit] NOT NULL,
[BatchID] [uniqueidentifier] NULL,
[ProcessHeartbeat] [datetime] NULL,
[Version] [int] NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[Notifications] ADD CONSTRAINT [PK_Notifications] PRIMARY KEY CLUSTERED ([NotificationID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_Notifications3] ON [dbo].[Notifications] ([NotificationEntered]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_Notifications] ON [dbo].[Notifications] ([ProcessAfter]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_Notifications2] ON [dbo].[Notifications] ([ProcessStart]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Notifications] WITH NOCHECK ADD CONSTRAINT [FK_Notifications_Subscriptions] FOREIGN KEY ([SubscriptionID]) REFERENCES [dbo].[Subscriptions] ([SubscriptionID]) ON DELETE CASCADE
GO
GRANT REFERENCES ON  [dbo].[Notifications] TO [RSExecRole]
GRANT SELECT ON  [dbo].[Notifications] TO [RSExecRole]
GRANT INSERT ON  [dbo].[Notifications] TO [RSExecRole]
GRANT DELETE ON  [dbo].[Notifications] TO [RSExecRole]
GRANT UPDATE ON  [dbo].[Notifications] TO [RSExecRole]
GO
Uses
Used By