表名:ZL_Plat_Like












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2MsgIDint40    能力中心消息id
3CUserint40    点赞人
4CDatedatetime83    点赞时间
5TagUserint40    受赞用户
6Sourcenvarchar1000    点赞来源

简要说明:

能力留言点赞表

GO

CREATE TABLE [dbo].[ZL_Plat_Like](
 [ID] [int] IDENTITY(1,1) NOT NULL,
 [MsgID] [int] NULL,
 [CUser] [int] NULL,
 [CDate] [datetime] NULL,
 [TagUser] [int] NULL,
 [Source] [nvarchar](100) NULL,
 CONSTRAINT [PK_ZL_Plat_Like] 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_Plat_Like

--注意:将删除整个表

drop table ZL_Plat_Like

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

TRUNCATE table ZL_Plat_Like