Tables [dbo].[notification]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count10
Created11:07:23 AM Wednesday, March 07, 2007
Last Modified9:08:55 PM Friday, December 05, 2008
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKnotification: ididint4
No
Indexes notification_x1: doc_iddoc_idint4
Yes
Indexes notification_x0: analyst_idanalyst_idbinary(16)16
Yes
alt_emailnvarchar(100)200
Yes
Indexes notification_x2: ntf_levelntf_levelint4
Yes
last_mod_dtint4
Yes
last_mod_bybinary(16)16
Yes
Indexes notification_x3: tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKnotification: idXPKnotificationid
Yes
notification_x0analyst_id
notification_x1doc_id
notification_x2ntf_level
notification_x3tenant
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
SQL Script
CREATE TABLE [dbo].[notification]
(
[id] [int] NOT NULL,
[doc_id] [int] NULL,
[analyst_id] [binary] (16) NULL,
[alt_email] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ntf_level] [int] NULL,
[last_mod_dt] [int] NULL,
[last_mod_by] [binary] (16) NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[notification] ADD CONSTRAINT [XPKnotification] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [notification_x0] ON [dbo].[notification] ([analyst_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [notification_x1] ON [dbo].[notification] ([doc_id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [notification_x2] ON [dbo].[notification] ([ntf_level]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [notification_x3] ON [dbo].[notification] ([tenant]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[notification] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[notification] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[notification] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[notification] TO [service_desk_admin_group]
GO
Uses