|
|
|
|
|
|
|
|
|
CREATE TABLE [dbo].[t_op_seae_ftpfile_bc](
|
|
|
|
|
[ID] [int] IDENTITY(1,1) NOT NULL,
|
|
|
|
|
[ReportID] [varchar](60) NULL,
|
|
|
|
|
[fileType] [varchar](20) NULL,
|
|
|
|
|
[ftp_filename] [varchar](200) NULL,
|
|
|
|
|
[lastmodi_date] [datetime] NULL,
|
|
|
|
|
[filesize] [varchar](15) NULL,
|
|
|
|
|
[download_ok] [bit] NULL,
|
|
|
|
|
[download_date] [datetime] NULL,
|
|
|
|
|
[remark] [varchar](500) NULL,
|
|
|
|
|
[local_path] [varchar](300) NULL,
|
|
|
|
|
[deal_ok] [bit] NULL,
|
|
|
|
|
[download_failuretimes] [int] NOT NULL,
|
|
|
|
|
[download_failure_notified] [bit] NOT NULL,
|
|
|
|
|
CONSTRAINT [PK_t_op_seae_ftpfile_bc] PRIMARY KEY CLUSTERED
|
|
|
|
|
(
|
|
|
|
|
[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
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ftp<EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_op_seae_ftpfile_bc', @level2type=N'COLUMN',@level2name=N'ftp_filename'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_op_seae_ftpfile_bc', @level2type=N'COLUMN',@level2name=N'lastmodi_date'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʧ<EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><EFBFBD>ѷ<EFBFBD>֪ͨ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_op_seae_ftpfile_bc', @level2type=N'COLUMN',@level2name=N'download_failure_notified'
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
ALTER TABLE [dbo].[t_op_seae_ftpfile_bc] ADD CONSTRAINT [DF_t_op_seae_ftpfile_bc_download_failuretimes] DEFAULT ((0)) FOR [download_failuretimes]
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
ALTER TABLE [dbo].[t_op_seae_ftpfile_bc] ADD CONSTRAINT [DF_t_op_seae_ftpfile_bc_download_failure_notified] DEFAULT ((0)) FOR [download_failure_notified]
|
|
|
|
|
GO
|
|
|
|
|
|
|
|
|
|
|