USE [OPMS_Online] GO /****** Object: Table [dbo].[[OTB_FNC_AccountingSubjects]] Script Date: 2017/7/24 下午 03:08:10 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO Drop Table [dbo].[OTB_FNC_AccountingSubjects] CREATE TABLE [dbo].[OTB_FNC_AccountingSubjects]( [AccountingBookID] [varchar](20) NOT NULL, [AccountingSubID] [varchar](50) NOT NULL, [AccountingClass] [varchar](10) NULL, [DCClass] [varchar](10) NULL, [AccountingSubName] [varchar](50) NULL, [ToCarry] [char](1) Null, [CreateDate] [datetime] NULL, [CreateUser] [varchar](50) NULL, [ModifyDate] [datetime] NULL, [ModifyUser] [varchar](50) NULL, [Memo] [varchar](200) NULL, CONSTRAINT [PK_OTB_FNC_AccountSubjects] PRIMARY KEY CLUSTERED ( [AccountingBookID] ASC, [AccountingSubID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO