USE [OPMS_Online] GO /****** Object: Table [dbo].[OTB_SAL_OrderList] Script Date: 2017/8/16 ¤W¤È 10:39:39 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO Drop Table OTB_SAL_OrderList CREATE TABLE [dbo].[OTB_SAL_OrderList]( [AccountingBookID] [varchar](20) NOT NULL, [SalesOrderNo] [varchar](20) NOT NULL, [CustomerID] [varchar](36) NOT NULL, [ProjectNumber] [varchar](50) NOT NULL, [PayType] [varchar](20) NOT NULL, [OrderStatus] [char](1) NULL, [CreateDate] [datetime] NULL, [CreateUser] [varchar](50) NULL, [ModifyDate] [datetime] NULL, [ModifyUser] [varchar](50) NULL, CONSTRAINT [PK_OTB_SAL_OrderList] PRIMARY KEY CLUSTERED ( [AccountingBookID] ASC, [SalesOrderNo] 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