USE [master]
GO
IF EXISTS (SELECT * FROM sys.databases WHERE name = 'ReadyMixedConcrete')
DROP DATABASE ReadyMixedConcrete --如果存在则删除
GO
/****** 商品混凝土标准数据库 ******/
CREATE DATABASE [ReadyMixedConcrete] ON PRIMARY
( NAME = N'ReadyMixedConcrete', FILENAME = N'D:\ZCITC_DB\ReadyMixedConcrete.mdf' , SIZE = 3072KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'ReadyMixedConcrete_log', FILENAME = N'D:\ZCITC_DB\ReadyMixedConcrete_1.ldf' , SIZE = 1024KB , MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled'))
begin
EXEC [ReadyMixedConcrete].[dbo].[sp_fulltext_database] @action = 'enable'
end
GO
ALTER DATABASE [ReadyMixedConcrete] SET ANSI_NULL_DEFAULT OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET ANSI_NULLS OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET ANSI_PADDING OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET ANSI_WARNINGS OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET ARITHABORT OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET AUTO_CLOSE OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET AUTO_CREATE_STATISTICS ON
GO
ALTER DATABASE [ReadyMixedConcrete] SET AUTO_SHRINK OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET AUTO_UPDATE_STATISTICS ON
GO
ALTER DATABASE [ReadyMixedConcrete] SET CURSOR_CLOSE_ON_COMMIT OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET CURSOR_DEFAULT GLOBAL
GO
ALTER DATABASE [ReadyMixedConcrete] SET CONCAT_NULL_YIELDS_NULL OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET NUMERIC_ROUNDABORT OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET QUOTED_IDENTIFIER OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET RECURSIVE_TRIGGERS OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET DISABLE_BROKER
GO
ALTER DATABASE [ReadyMixedConcrete] SET AUTO_UPDATE_STATISTICS_ASYNC OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET DATE_CORRELATION_OPTIMIZATION OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET TRUSTWORTHY OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET ALLOW_SNAPSHOT_ISOLATION OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET PARAMETERIZATION SIMPLE
GO
ALTER DATABASE [ReadyMixedConcrete] SET READ_COMMITTED_SNAPSHOT OFF
GO
ALTER DATABASE [ReadyMixedConcrete] SET READ_WRITE
GO
ALTER DATABASE [ReadyMixedConcrete] SET RECOVERY FULL
GO
ALTER DATABASE [ReadyMixedConcrete] SET MULTI_USER
GO
ALTER DATABASE [ReadyMixedConcrete] SET PAGE_VERIFY CHECKSUM
GO
ALTER DATABASE [ReadyMixedConcrete] SET DB_CHAINING OFF
GO
USE [ReadyMixedConcrete]
GO
/******
材料类别码表