
[dbo].[survey_statistics]
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