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.
57 lines
1.7 KiB
MySQL
57 lines
1.7 KiB
MySQL
11 months ago
|
/****** Object: Table [dbo].[t_op_seae_edi_tosend_mail] Script Date: 10/31/2017 13:54:46 ******/
|
||
|
SET ANSI_NULLS ON
|
||
|
GO
|
||
|
|
||
|
SET QUOTED_IDENTIFIER ON
|
||
|
GO
|
||
|
|
||
|
SET ANSI_PADDING ON
|
||
|
GO
|
||
|
|
||
|
CREATE TABLE [dbo].[t_op_seae_edi_tosend_mail](
|
||
|
[mail_no] [int] IDENTITY(1,1) NOT NULL,
|
||
|
[mail_id] [varchar](50) NOT NULL,
|
||
|
[send_to] [varchar](600) NULL,
|
||
|
[cc_to] [varchar](300) NULL,
|
||
|
[subject] [varchar](300) NULL,
|
||
|
[ishtml] [bit] NULL,
|
||
|
[mail_content] [text] NULL,
|
||
|
[attachment] [text] NULL,
|
||
|
[mailkeyword] [text] NULL,
|
||
|
[send_type] [varchar](10) NULL,
|
||
|
[order_senddate] [datetime] NULL,
|
||
|
[createdate] [datetime] NULL,
|
||
|
[trytimes] [int] NOT NULL,
|
||
|
[sender] [varchar](20) NOT NULL,
|
||
|
[sender_address] [varchar](60) NULL,
|
||
|
[sender_password] [varchar](20) NULL,
|
||
|
[remark] [text] NULL,
|
||
|
[issend] [bit] NULL,
|
||
|
[MailPriority] [int] NULL,
|
||
|
[mail_type] [varchar](30) NULL,
|
||
|
[use_defaultmail_send] [bit] NOT NULL,
|
||
|
CONSTRAINT [PK_t_op_seae_edi_tosend_mail] PRIMARY KEY CLUSTERED
|
||
|
(
|
||
|
[mail_no] ASC
|
||
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||
|
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
|
||
|
|
||
|
GO
|
||
|
|
||
|
SET ANSI_PADDING OFF
|
||
|
GO
|
||
|
|
||
|
ALTER TABLE [dbo].[t_op_seae_edi_tosend_mail] ADD CONSTRAINT [DF_t_op_seae_edi_tosend_mail_trytimes] DEFAULT ((0)) FOR [trytimes]
|
||
|
GO
|
||
|
|
||
|
ALTER TABLE [dbo].[t_op_seae_edi_tosend_mail] ADD CONSTRAINT [DF_t_op_seae_edi_tosend_mail_issend] DEFAULT ((0)) FOR [issend]
|
||
|
GO
|
||
|
|
||
|
ALTER TABLE [dbo].[t_op_seae_edi_tosend_mail] ADD CONSTRAINT [DF_t_op_seae_edi_tosend_mail_MailPriority] DEFAULT ((0)) FOR [MailPriority]
|
||
|
GO
|
||
|
|
||
|
ALTER TABLE [dbo].[t_op_seae_edi_tosend_mail] ADD CONSTRAINT [DF_t_op_seae_edi_tosend_mail_use_defaultmail_send] DEFAULT ((0)) FOR [use_defaultmail_send]
|
||
|
GO
|
||
|
|
||
|
|