|
|
|
|
|
|
|
|
|
/****** Object: Table [dbo].[t_op_td_ctn] Script Date: 01/23/2018 14:36:18 ******/
|
|
|
|
|
SET ANSI_NULLS ON
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
SET QUOTED_IDENTIFIER ON
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
SET ANSI_PADDING ON
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[t_op_td_ctn](
|
|
|
|
|
[ctn_id] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
|
|
|
|
|
[base_reportid] [varchar](60) NOT NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](12) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](4) NULL,
|
|
|
|
|
[<EFBFBD>ߴ<EFBFBD>] [varchar](2) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](10) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [int] NULL,
|
|
|
|
|
[TEU] [int] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ] [varchar](20) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](30) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](30) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [int] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>װ] [varchar](20) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [numeric](18, 3) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [numeric](18, 4) NULL,
|
|
|
|
|
[Ʒ<EFBFBD><EFBFBD>] [varchar](20) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>ͷ] [varchar](600) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>ע] [varchar](30) NULL,
|
|
|
|
|
[A] [bit] NULL,
|
|
|
|
|
[B] [bit] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>] [bit] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>] [bit] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](600) NULL,
|
|
|
|
|
[<EFBFBD>ᵥ<EFBFBD><EFBFBD>] [varchar](20) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>վ] [varchar](20) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [varchar](20) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [bit] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [bit] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [smalldatetime] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [smalldatetime] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD>ַ] [varchar](50) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD>ط<EFBFBD>ʽ] [varchar](10) NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [numeric](18, 4) NULL,
|
|
|
|
|
[VGM<EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>] [varchar](20) NULL,
|
|
|
|
|
[VGM<EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ʽ] [varchar](20) NULL,
|
|
|
|
|
[VGMǩ<EFBFBD><EFBFBD>] [varchar](20) NULL,
|
|
|
|
|
[VGM<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] [smalldatetime] NULL,
|
|
|
|
|
[<EFBFBD><EFBFBD><EFBFBD>صص<EFBFBD>] [varchar](20) NULL,
|
|
|
|
|
[¼<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>] [datetime] NOT NULL
|
|
|
|
|
) ON [PRIMARY]
|
|
|
|
|
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
SET ANSI_PADDING OFF
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
ALTER TABLE [dbo].[t_op_td_ctn] ADD CONSTRAINT [DF_t_op_td_ctn_¼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] DEFAULT (getdate()) FOR [¼<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>]
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
|