源文件的内容是
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK__PollAnswe__PollI__4316F928]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)
ALTER TABLE [dbo].[PollAnswers] DROP CONSTRAINT FK__PollAnswe__PollI__4316F928
GOif exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PollAnswers]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[PollAnswers]
GOif exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[PollQuestions]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[PollQuestions]
GOCREATE TABLE [dbo].[PollAnswers] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[PollID] [int] NOT NULL ,
[Answer] [varchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[AnswerCount] [int] NULL ,
[AnswerPercent] [int] NULL 
) ON [PRIMARY]
GOCREATE TABLE [dbo].[PollQuestions] (
[Id] [int] IDENTITY (1, 1) NOT NULL ,
[Question] [varchar] (200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
[StartDate] [datetime] NULL ,
[EndDate] [datetime] NULL ,
[Active] [int] NULL 
) ON [PRIMARY]
GO