USE [master]
GO
/****** 对象: Database [RssReader] 脚本日期: 12/05/2006 10:46:01 ******/
CREATE DATABASE [RssReader] ON PRIMARY
( NAME = N'RssReader', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\RssReader.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'RssReader_log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\RssReader_log.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
COLLATE Chinese_PRC_CI_AS
GO
EXEC dbo.sp_dbcmptlevel @dbname=N'RssReader', @new_cmptlevel=90
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [RssReader].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [RssReader] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [RssReader] SET ANSI_NULLS OFF
GO
ALTER DATABASE [RssReader] SET ANSI_PADDING OFF
GO
ALTER DATABASE [RssReader] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [RssReader] SET ARITHABORT OFF
GO
ALTER DATABASE [RssReader] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [RssReader] SET AUTO_CREATE_STATISTICS ON
GO
ALTER DATABASE [RssReader] SET AUTO_SHRINK OFF
GO
ALTER DATABASE [RssReader] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [RssReader] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [RssReader] SET CURSOR_DEFAULT GLOBAL
GO
ALTER DATABASE [RssReader] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [RssReader] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [RssReader] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [RssReader] SET RECURSIVE_TRIGGERS OFF
GO
ALTER DATABASE [RssReader] SET ENABLE_BROKER
GO
ALTER DATABASE [RssReader] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO
ALTER DATABASE [RssReader] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [RssReader] SET TRUSTWORTHY OFF
GO
ALTER DATABASE [RssReader] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO
ALTER DATABASE [RssReader] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [RssReader] SET READ_WRITE
GO
ALTER DATABASE [RssReader] SET RECOVERY SIMPLE
GO
ALTER DATABASE [RssReader] SET MULTI_USER
GO
ALTER DATABASE [RssReader] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [RssReader] SET DB_CHAINING OFF
/*创建表*/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[RssStore]') AND type in (N'U'))
BEGIN
CREATE TABLE [dbo].[RssStore](
[Rss_ID] [int] IDENTITY(1,1) NOT NULL,
[Rss_Name] [nvarchar](50) NULL,
[Rss_URL] [nvarchar](100) NULL
) ON [PRIMARY]
END
评论3
最新资源