序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Name | nvarchar | 100 | 0 | 是 | 发件人别名 | ||||
3 | CompName | nvarchar | 100 | 0 | 是 | 发件人公司 | ||||
4 | Address | nvarchar | 500 | 0 | 是 | 发件人地址 | ||||
5 | Mobile | nvarchar | 100 | 0 | 是 | 发件人手机号 | ||||
6 | AdminID | int | 4 | 0 | 是 | 添加该信息的管理员ID | ||||
7 | CDate | datetime | 8 | 3 | 是 | |||||
8 | Remind | nvarchar | 500 | 0 | 是 | 发件人备注 | ||||
9 | IsDefault | int | 4 | 0 | 是 | 是否默认发件人 |
快递发件表
GO
CREATE TABLE [dbo].[ZL_Order_ExpSender](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](100) NULL,
[CompName] [nvarchar](100) NULL,
[Address] [nvarchar](500) NULL,
[Mobile] [nvarchar](100) NULL,
[AdminID] [int] NULL,
[CDate] [datetime] NULL,
[Remind] [nvarchar](500) NULL,
[IsDefault] [int] NULL,
CONSTRAINT [PK_ZL_Order_ExpSender] 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]
detele from ZL_Order_ExpSender
drop table ZL_Order_ExpSender
TRUNCATE table ZL_Order_ExpSender