Tables [dbo].[WebSurvey]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:57:08 PM Thursday, September 7, 2006
Last Modified11:13:44 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_WebSurvey: PriKeyPriKeyint4
No
1 - 1
Foreign Keys FK_WebSurvey_ORDERS: [dbo].[Orders].OrdPriKeyOrdPriKeyint4
No
Response1int4
Yes
Response2int4
Yes
Response3int4
Yes
Response4int4
Yes
Response5int4
Yes
Ratingint4
Yes
Response6int4
Yes
Response7int4
Yes
Response8int4
Yes
Response9int4
Yes
Response10int4
Yes
Response11int4
Yes
Response12int4
Yes
Response13int4
Yes
Response14int4
Yes
Response15int4
Yes
Response16int4
Yes
Response17int4
Yes
Response18int4
Yes
Response19int4
Yes
Response20int4
Yes
Commentsvarchar(1024)1024
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_WebSurvey: PriKeyPK_WebSurveyPriKey
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_WebSurvey_ORDERSOrdPriKey->[dbo].[Orders].[PriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[WebSurvey]
(
[PriKey] [int] NOT NULL IDENTITY(1, 1),
[OrdPriKey] [int] NOT NULL,
[Response1] [int] NULL,
[Response2] [int] NULL,
[Response3] [int] NULL,
[Response4] [int] NULL,
[Response5] [int] NULL,
[Rating] [int] NULL,
[Response6] [int] NULL,
[Response7] [int] NULL,
[Response8] [int] NULL,
[Response9] [int] NULL,
[Response10] [int] NULL,
[Response11] [int] NULL,
[Response12] [int] NULL,
[Response13] [int] NULL,
[Response14] [int] NULL,
[Response15] [int] NULL,
[Response16] [int] NULL,
[Response17] [int] NULL,
[Response18] [int] NULL,
[Response19] [int] NULL,
[Response20] [int] NULL,
[Comments] [varchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[WebSurvey] ADD CONSTRAINT [PK_WebSurvey] PRIMARY KEY CLUSTERED  ([PriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[WebSurvey] ADD CONSTRAINT [FK_WebSurvey_ORDERS] FOREIGN KEY ([OrdPriKey]) REFERENCES [dbo].[Orders] ([PriKey])
GO
GRANT SELECT ON  [dbo].[WebSurvey] TO [MssExec]
GRANT INSERT ON  [dbo].[WebSurvey] TO [MssExec]
GRANT DELETE ON  [dbo].[WebSurvey] TO [MssExec]
GRANT UPDATE ON  [dbo].[WebSurvey] TO [MssExec]
GO
Uses