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.
D6JIEFENGMAIL/doc/sql/t_op_seae_ftpfile_bc.sql

43 lines
1.7 KiB
MySQL

11 months ago
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