Tables [dbo].[ActiveSubscriptions]
Properties
PropertyValue
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_ActiveSubscriptions: ActiveIDActiveIDuniqueidentifier16
No
Foreign Keys FK_ActiveSubscriptions_Subscriptions: [dbo].[Subscriptions].SubscriptionIDSubscriptionIDuniqueidentifier16
No
TotalNotificationsint4
Yes
TotalSuccessesint4
No
TotalFailuresint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_ActiveSubscriptions: ActiveIDPK_ActiveSubscriptionsActiveID
Yes
Foreign Keys Foreign Keys
NameNo CheckDeleteColumns
FK_ActiveSubscriptions_Subscriptions
Yes
CascadeSubscriptionID->[dbo].[Subscriptions].[SubscriptionID]
Permissions
TypeActionOwning Principal
GrantDeleteRSExecRole
GrantInsertRSExecRole
GrantReferencesRSExecRole
GrantSelectRSExecRole
GrantUpdateRSExecRole
SQL Script
CREATE TABLE [dbo].[ActiveSubscriptions]
(
[ActiveID] [uniqueidentifier] NOT NULL,
[SubscriptionID] [uniqueidentifier] NOT NULL,
[TotalNotifications] [int] NULL,
[TotalSuccesses] [int] NOT NULL,
[TotalFailures] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ActiveSubscriptions] ADD CONSTRAINT [PK_ActiveSubscriptions] PRIMARY KEY CLUSTERED ([ActiveID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ActiveSubscriptions] WITH NOCHECK ADD CONSTRAINT [FK_ActiveSubscriptions_Subscriptions] FOREIGN KEY ([SubscriptionID]) REFERENCES [dbo].[Subscriptions] ([SubscriptionID]) ON DELETE CASCADE
GO
GRANT REFERENCES ON  [dbo].[ActiveSubscriptions] TO [RSExecRole]
GRANT SELECT ON  [dbo].[ActiveSubscriptions] TO [RSExecRole]
GRANT INSERT ON  [dbo].[ActiveSubscriptions] TO [RSExecRole]
GRANT DELETE ON  [dbo].[ActiveSubscriptions] TO [RSExecRole]
GRANT UPDATE ON  [dbo].[ActiveSubscriptions] TO [RSExecRole]
GO
Uses
Used By