Tables [dbo].[usp_mailbox]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count4
Created4:36:15 PM Wednesday, March 24, 2010
Last Modified4:36:15 PM Wednesday, March 24, 2010
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK__usp_mailbox__47919582: ididint4
No
delint4
No
last_mod_dtint4
Yes
last_mod_bybinary(16)16
Yes
check_intervalint4
Yes
descriptionntextmax
Yes
email_typenvarchar(10)20
Yes
host_namenvarchar(128)256
Yes
host_portint4
Yes
Indexes usp_mailbox_X0: namenamenvarchar(60)120
Yes
passwordnvarchar(256)512
Yes
security_lvlint4
Yes
useridnvarchar(64)128
Yes
attmnt_repositorynvarchar(30)60
Yes
use_reply_to_addressint4
Yes
allow_anonymousint4
Yes
save_unknown_emailsint4
Yes
attach_emailint4
Yes
split_out_attachmentint4
Yes
tenantbinary(16)16
Yes
email_address_per_hourint4
Yes
exclusion_listntextmax
Yes
inclusion_listntextmax
Yes
log_policy_violationint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK__usp_mailbox__47919582: idPK__usp_mailbox__47919582id
Yes
usp_mailbox_X0name
Yes
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
GrantSelectservice_desk_ro_group
Extended Properties
NameValue
CommentAdded r12.5
SQL Script
CREATE TABLE [dbo].[usp_mailbox]
(
[id] [int] NOT NULL,
[del] [int] NOT NULL,
[last_mod_dt] [int] NULL,
[last_mod_by] [binary] (16) NULL,
[check_interval] [int] NULL,
[description] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[email_type] [nvarchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[host_name] [nvarchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[host_port] [int] NULL,
[name] [nvarchar] (60) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[password] [nvarchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[security_lvl] [int] NULL,
[userid] [nvarchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[attmnt_repository] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[use_reply_to_address] [int] NULL,
[allow_anonymous] [int] NULL,
[save_unknown_emails] [int] NULL,
[attach_email] [int] NULL,
[split_out_attachment] [int] NULL,
[tenant] [binary] (16) NULL,
[email_address_per_hour] [int] NULL,
[exclusion_list] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[inclusion_list] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[log_policy_violation] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[usp_mailbox] ADD CONSTRAINT [PK__usp_mailbox__47919582] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [usp_mailbox_X0] ON [dbo].[usp_mailbox] ([name]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[usp_mailbox] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[usp_mailbox] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[usp_mailbox] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[usp_mailbox] TO [service_desk_admin_group]
GRANT SELECT ON  [dbo].[usp_mailbox] TO [service_desk_ro_group]
GO
EXEC sp_addextendedproperty N'Comment', N'Added r12.5', 'SCHEMA', N'dbo', 'TABLE', N'usp_mailbox', NULL, NULL
GO
Uses