Tables [dbo].[query_policy_actions]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count6
Created9:08:57 PM Friday, December 05, 2008
Last Modified9:08:57 PM Friday, December 05, 2008
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key pk__query_policy_act__0ebaa187: ididint4
No
Indexes query_policy_actions_x0: policy\exec_macropolicyint4
Yes
Indexes query_policy_actions_x1: exec_macroIndexes query_policy_actions_x0: policy\exec_macroexec_macronvarchar(30)60
Yes
last_mod_bybinary(16)16
Yes
last_mod_dtint4
Yes
Indexes query_policy_actions_x2: tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key pk__query_policy_act__0ebaa187: idpk__query_policy_act__0ebaa187id
Yes
query_policy_actions_x0policy, exec_macro
Yes
query_policy_actions_x1exec_macro
query_policy_actions_x2tenant
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
Extended Properties
NameValue
CommentAdded r12
SQL Script
CREATE TABLE [dbo].[query_policy_actions]
(
[id] [int] NOT NULL,
[policy] [int] NULL,
[exec_macro] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[last_mod_by] [binary] (16) NULL,
[last_mod_dt] [int] NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[query_policy_actions] ADD CONSTRAINT [pk__query_policy_act__0ebaa187] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [query_policy_actions_x1] ON [dbo].[query_policy_actions] ([exec_macro]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [query_policy_actions_x0] ON [dbo].[query_policy_actions] ([policy], [exec_macro]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [query_policy_actions_x2] ON [dbo].[query_policy_actions] ([tenant]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[query_policy_actions] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[query_policy_actions] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[query_policy_actions] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[query_policy_actions] TO [service_desk_admin_group]
GO
EXEC sp_addextendedproperty N'Comment', N'Added r12', 'SCHEMA', N'dbo', 'TABLE', N'query_policy_actions', NULL, NULL
GO
Uses