Tables [dbo].[survey_statistics]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count0
Created11:07:32 AM Wednesday, March 07, 2007
Last Modified9:09:03 PM Friday, December 05, 2008
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key XPKsurvey_statistics: ididint4
No
persidnvarchar(30)60
Yes
delint4
No
tplidint4
Yes
cycleint4
Yes
cyc_counterint4
Yes
eval_counterint4
Yes
sub_counterint4
Yes
Indexes survey_statistics_x1: tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKsurvey_statistics: idXPKsurvey_statisticsid
Yes
survey_statistics_x1tenant
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
GrantSelectservice_desk_ro_group
SQL Script
CREATE TABLE [dbo].[survey_statistics]
(
[id] [int] NOT NULL,
[persid] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[del] [int] NOT NULL,
[tplid] [int] NULL,
[cycle] [int] NULL,
[cyc_counter] [int] NULL,
[eval_counter] [int] NULL,
[sub_counter] [int] NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[survey_statistics] ADD CONSTRAINT [XPKsurvey_statistics] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [survey_statistics_x1] ON [dbo].[survey_statistics] ([tenant]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[survey_statistics] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[survey_statistics] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[survey_statistics] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[survey_statistics] TO [service_desk_admin_group]
GRANT SELECT ON  [dbo].[survey_statistics] TO [service_desk_ro_group]
GO
Uses