Tables [dbo].[survey_atpl]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count11
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_atpl: ididint4
No
persidnvarchar(30)60
Yes
delint4
No
txtnvarchar(400)800
Yes
Indexes survey_atpl_x0: own_srvy_question\sequence\tenantsequenceint4
No
Indexes survey_atpl_x0: own_srvy_question\sequence\tenantown_srvy_questionint4
Yes
last_mod_dtint4
Yes
last_mod_bybinary(16)16
Yes
Indexes survey_atpl_x0: own_srvy_question\sequence\tenantIndexes survey_atpl_x1: tenanttenantbinary(16)16
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key XPKsurvey_atpl: idXPKsurvey_atplid
Yes
survey_atpl_x0own_srvy_question, sequence, tenant
Yes
survey_atpl_x1tenant
Permissions
TypeActionOwning Principal
GrantDeleteservice_desk_admin_group
GrantInsertservice_desk_admin_group
GrantSelectservice_desk_admin_group
GrantUpdateservice_desk_admin_group
SQL Script
CREATE TABLE [dbo].[survey_atpl]
(
[id] [int] NOT NULL,
[persid] [nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[del] [int] NOT NULL,
[txt] [nvarchar] (400) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[sequence] [int] NOT NULL,
[own_srvy_question] [int] NULL,
[last_mod_dt] [int] NULL,
[last_mod_by] [binary] (16) NULL,
[tenant] [binary] (16) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[survey_atpl] ADD CONSTRAINT [XPKsurvey_atpl] PRIMARY KEY CLUSTERED ([id]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [survey_atpl_x0] ON [dbo].[survey_atpl] ([own_srvy_question], [sequence], [tenant]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [survey_atpl_x1] ON [dbo].[survey_atpl] ([tenant]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[survey_atpl] TO [service_desk_admin_group]
GRANT INSERT ON  [dbo].[survey_atpl] TO [service_desk_admin_group]
GRANT DELETE ON  [dbo].[survey_atpl] TO [service_desk_admin_group]
GRANT UPDATE ON  [dbo].[survey_atpl] TO [service_desk_admin_group]
GO
Uses