/****** Object: Table [dbo].[t_ch_fee_edi] Script Date: 01/23/2018 14:29:55 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[t_ch_fee_edi]( [CH_ID] [int] IDENTITY(1,1) NOT NULL, [reportid] [varchar](60) NULL, [类型] [varchar](2) NULL, [费用状态] [varchar](8) NULL, [编号] [varchar](12) NULL, [费用名称] [varchar](30) NULL, [结算单位] [varchar](8) NULL, [客户名称] [varchar](20) NULL, [标准] [varchar](40) NULL, [单价] [numeric](18, 4) NULL, [数量] [numeric](18, 4) NULL, [金额] [numeric](18, 2) NULL, [币别] [varchar](3) NULL, [汇率] [numeric](18, 4) NULL, [备注] [varchar](100) NULL, [提交日期] [smalldatetime] NULL, [录入日期] [datetime] NULL, [费用英文名称] [varchar](50) NULL, [提单号] [varchar](20) NULL, [发票号码] [varchar](20) NULL, [报文类型] [varchar](20) NULL, [顺序] [int] NOT NULL, CONSTRAINT [PK_t_ch_fee_edi] PRIMARY KEY CLUSTERED ( [CH_ID] 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 ALTER TABLE [dbo].[t_ch_fee_edi] ADD CONSTRAINT [DF_t_ch_fee_edi_顺序] DEFAULT ((1)) FOR [顺序] GO