You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
4.5 KiB
Transact-SQL
128 lines
4.5 KiB
Transact-SQL
|
|
CREATE TABLE [dbo].[t_op_seae_edi_rp_iftmbc](
|
|
[F_Base_ID] [int] IDENTITY(1,1) NOT NULL,
|
|
[F_Base_ReportID] [varchar](60) NOT NULL,
|
|
[F_Base_CreateTime] [datetime] NOT NULL,
|
|
[F_UNB_CA] [varchar](20) NULL,
|
|
[F_UNB_RA] [varchar](20) NULL,
|
|
[F_BW_UNH] [varchar](15) NULL,
|
|
[F_BW_BGM] [varchar](20) NULL,
|
|
[F_COM_CTA] [varchar](20) NULL,
|
|
[F_COM_EM] [varchar](100) NULL,
|
|
[F_COM_TE] [varchar](20) NULL,
|
|
[F_COM_FX] [varchar](20) NULL,
|
|
[F_TSR_TSR] [varchar](15) NULL,
|
|
[F_RFF_BN] [varchar](15) NULL,
|
|
[F_RFF_BM] [varchar](15) NULL,
|
|
[F_RFF_CT] [varchar](15) NULL,
|
|
[F_RFF_FF] [varchar](200) NULL,
|
|
[F_RFF_IV] [varchar](15) NULL,
|
|
[F_NAD_BA_DCDL] [varchar](100) NULL,
|
|
[F_NAD_BA_DCDL_Addr] [varchar](200) NULL,
|
|
[F_NAD_BA_DCDL_Person] [varchar](60) NULL,
|
|
[F_NAD_BA_EM] [varchar](100) NULL,
|
|
[F_NAD_BA_TE] [varchar](20) NULL,
|
|
[F_NAD_BA_FX] [varchar](20) NULL,
|
|
[F_NAD_CN_0Person] [varchar](60) NULL,
|
|
[F_NAD_CN_0Addr] [varchar](200) NULL,
|
|
[F_NAD_CN_1Person] [varchar](60) NULL,
|
|
[F_NAD_CN_1Addr] [varchar](200) NULL,
|
|
[F_NAD_CN_2Person] [varchar](60) NULL,
|
|
[F_NAD_CN_2Addr] [varchar](200) NULL,
|
|
[F_NAD_CZ_Person] [varchar](60) NULL,
|
|
[F_NAD_CZ_Addr] [varchar](200) NULL,
|
|
[F_NAD_FW_Person] [varchar](60) NULL,
|
|
[F_NAD_FW_Addr] [varchar](200) NOT NULL,
|
|
[F_NAD_CA] [varchar](100) NULL,
|
|
[F_NAD_CK] [varchar](100) NULL,
|
|
[F_NAD_CK_Addr] [varchar](200) NULL,
|
|
[F_NAD_EP] [varchar](100) NULL,
|
|
[F_NAD_EP_Addr] [varchar](200) NULL,
|
|
[F_NAD_FC] [varchar](60) NULL,
|
|
[F_NAD_FC_Addr] [varchar](200) NULL,
|
|
[F_WP_GID_num] [varchar](15) NULL,
|
|
[F_WP_GID_code] [varchar](20) NULL,
|
|
[F_WP_GID_bz] [varchar](20) NULL,
|
|
[F_WP_MEA_tj] [varchar](20) NULL,
|
|
[F_WP_MEA_mz] [varchar](20) NULL,
|
|
[F_WP_EQD] [varchar](60) NULL,
|
|
[F_WP_EQN_Type] [varchar](60) NULL,
|
|
[F_WP_EQN_Num] [varchar](15) NULL,
|
|
[F_WP_DGS_Type] [varchar](20) NULL,
|
|
[F_WP_DGS_No] [varchar](20) NULL,
|
|
[F_WP_DGS_sd] [varchar](20) NULL,
|
|
[F_WP_TMP] [varchar](20) NULL,
|
|
[F_FTX_BWRemark] [varchar](500) NULL,
|
|
[F_FTX_hwRemark] [varchar](500) NULL,
|
|
[F_DC0_DTM132] [varchar](15) NULL,
|
|
[F_DC0_DTM133] [varchar](15) NULL,
|
|
[F_DC0_DTM137] [varchar](15) NULL,
|
|
[F_DC0_DTM392] [varchar](15) NULL,
|
|
[F_DC0_TDT_HC] [varchar](20) NULL,
|
|
[F_DC0_TDT_CM] [varchar](60) NULL,
|
|
[F_DC0_LOC_SAddrCode] [varchar](20) NULL,
|
|
[F_DC0_LOC_Saddr] [varchar](200) NULL,
|
|
[F_DC0_LOC_ZAddrCode] [varchar](20) NULL,
|
|
[F_DC0_LOC_ZAddr] [varchar](200) NULL,
|
|
[F_DC0_LOC_XAddrCode] [varchar](20) NULL,
|
|
[F_DC0_LOC_XAddr] [varchar](200) NULL,
|
|
[F_DC0_LOC_JAddrCode] [varchar](20) NULL,
|
|
[F_DC0_LOC_JAddr] [varchar](200) NULL,
|
|
[F_DC1_DTM132] [varchar](15) NULL,
|
|
[F_DC1_DTM133] [varchar](15) NULL,
|
|
[F_DC1_DTM137] [varchar](15) NULL,
|
|
[F_DC1_DTM392] [varchar](15) NULL,
|
|
[F_DC1_TDT_HC] [varchar](20) NULL,
|
|
[F_DC1_TDT_CM] [varchar](60) NULL,
|
|
[F_DC1_LOC_SAddrCode] [varchar](20) NULL,
|
|
[F_DC1_LOC_SAddr] [varchar](200) NULL,
|
|
[F_DC1_LOC_ZAddrCode] [varchar](20) NULL,
|
|
[F_DC1_LOC_ZAddr] [varchar](200) NULL,
|
|
[F_DC1_LOC_XAddrCode] [varchar](20) NULL,
|
|
[F_DC1_LOC_XAddr] [varchar](200) NULL,
|
|
[F_DC1_LOC_JAddrCode] [varchar](20) NULL,
|
|
[F_DC1_LOC_JAddr] [varchar](200) NULL,
|
|
[F_DC2_DTM132] [varchar](15) NULL,
|
|
[F_DC2_DTM133] [varchar](15) NULL,
|
|
[F_DC2_DTM137] [varchar](15) NULL,
|
|
[F_DC2_DTM392] [varchar](15) NULL,
|
|
[F_DC2_TDT_HC] [varchar](20) NULL,
|
|
[F_DC2_TDT_CM] [varchar](60) NULL,
|
|
[F_DC2_LOC_SAddrCode] [varchar](20) NULL,
|
|
[F_DC2_LOC_SAddr] [varchar](200) NULL,
|
|
[F_DC2_LOC_ZAddrCode] [varchar](20) NULL,
|
|
[F_DC2_LOC_ZAddr] [varchar](200) NULL,
|
|
[F_DC2_LOC_XAddrCode] [varchar](20) NULL,
|
|
[F_DC2_LOC_XAddr] [varchar](200) NULL,
|
|
[F_DC2_LOC_JAddrCode] [varchar](20) NULL,
|
|
[F_DC2_LOC_JAddr] [varchar](200) NULL,
|
|
[F_DC3_DTM132] [varchar](15) NULL,
|
|
[F_DC3_DTM133] [varchar](15) NULL,
|
|
[F_DC3_DTM137] [varchar](15) NULL,
|
|
[F_DC3_DTM392] [varchar](15) NULL,
|
|
[F_DC3_TDT_HC] [varchar](20) NULL,
|
|
[F_DC3_TDT_CM] [varchar](60) NULL,
|
|
[F_DC3_LOC_SAddrCode] [varchar](20) NULL,
|
|
[F_DC3_LOC_SAddr] [varchar](200) NULL,
|
|
[F_DC3_LOC_ZAddrCode] [varchar](20) NULL,
|
|
[F_DC3_LOC_ZAddr] [varchar](200) NULL,
|
|
[F_DC3_LOC_XAddrCode] [varchar](20) NULL,
|
|
[F_DC3_LOC_XAddr] [varchar](200) NULL,
|
|
[F_DC3_LOC_JAddrCode] [varchar](20) NULL,
|
|
[F_DC3_LOC_JAddr] [varchar](200) NULL,
|
|
CONSTRAINT [PK_t_op_seae_edi_rp_iftmbc] PRIMARY KEY CLUSTERED
|
|
(
|
|
[F_Base_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_op_seae_edi_rp_iftmbc] ADD CONSTRAINT [DF__t_seae_ed__F_Bas__1B9F9B59] DEFAULT (getdate()) FOR [F_Base_CreateTime]
|
|
GO
|
|
|
|
|