表名:ZL_Trademark












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Trnamevarchar2550    商标名
3Producerint40    所属厂商
4TrClassvarchar500    商标类别
5Isuseint40   0是否使用
6Istopint40   0是否品牌
7Isbestint40   0是否推荐
8TrPhotovarchar500    品牌照片
9TrContenttext160    品牌简介
10Addtimedatetime83   getdate添加时间

简要说明:

品牌表

GO
CREATE TABLE [dbo].[ZL_Trademark](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Trname] [nvarchar](255) NULL,
[Producer] [int] NULL,
[TrClass] [nvarchar](50) NULL,
[Isuse] [int] NULL,
[Istop] [int] NULL,
[Isbest] [int] NULL,
[TrPhoto] [nvarchar](500) NULL,
[TrContent] [ntext] NULL,
[Addtime] [datetime] NULL,
CONSTRAINT [PK_ZL_Trademark] 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] TEXTIMAGE_ON [PRIMARY]

--注意:将清空全表数据

detele from ZL_Trademark

--注意:将删除整个表

drop table ZL_Trademark

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_Trademark