序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | Producername | varchar | 255 | 0 | 是 | 厂商名称 | ||||
3 | Smallname | varchar | 255 | 0 | 是 | 厂商缩写 | ||||
4 | CreateTime | datetime | 8 | 3 | 是 | getdate | 创建时间 | |||
5 | Coadd | varchar | 255 | 0 | 是 | 公司地址 | ||||
6 | Telpho | varchar | 255 | 0 | 是 | 联系电话 | ||||
7 | FaxCode | varchar | 50 | 0 | 是 | 传真号码 | ||||
8 | PostCode | varchar | 50 | 0 | 是 | 邮政编码 | ||||
9 | CoWebsite | varchar | 255 | 0 | 是 | 厂商主页 | ||||
10 | varchar | 50 | 0 | 是 | 电子邮件 | |||||
11 | CoClass | varchar | 50 | 0 | 是 | 厂商分类 | ||||
12 | CoPhoto | varchar | 255 | 0 | 是 | 厂商照片 | ||||
13 | Content | text | 16 | 0 | 是 | 厂商简介 | ||||
14 | Istop | int | 4 | 0 | 是 | 0 | 固顶 | |||
15 | Disable | int | 4 | 0 | 是 | 0 | 禁用 | |||
16 | Isbest | int | 4 | 0 | 是 | 0 | 推荐 |
厂商信息表
GO
CREATE TABLE [dbo].[ZL_Manufacturers](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Producername] [varchar](255) NULL,
[Smallname] [varchar](255) NULL,
[CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Manufacturers_CreateTime] DEFAULT (getdate()),
[Coadd] [varchar](255) NULL,
[Telpho] [varchar](255) NULL,
[FaxCode] [varchar](50) NULL,
[PostCode] [varchar](50) NULL,
[CoWebsite] [varchar](255) NULL,
[Email] [varchar](50) NULL,
[CoClass] [varchar](50) NULL,
[CoPhoto] [varchar](255) NULL,
[Content] [text] NULL,
[Istop] [int] NULL CONSTRAINT [DF_ZL_Manufacturers_Istop] DEFAULT (0),
[Disable] [int] NULL CONSTRAINT [DF_ZL_Manufacturers_Disable] DEFAULT (0),
[Isbest] [int] NULL CONSTRAINT [DF_ZL_Manufacturers_Isbest] DEFAULT (0),
CONSTRAINT [PK_ZL_Manufacturers] PRIMARY KEY CLUSTERED
([ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
detele from ZL_Manufacturers
drop table ZL_Manufacturers
TRUNCATE table ZL_Manufacturers