表名:ZL_WX_User












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2Namenvarchar1000    微信用户名
3OpenIDnvarchar2000    微信用户id
4Sexint40    性别
5Citynvarchar500    城市
6Provincenvarchar500    省份
7Countrynvarchar500    国家
8HeadImgUrlnvarchar5000    用户头像url
9CDatedatetime83    创建时间
10Groupidint40    分组id
11AppIdint40    公众号id

简要说明:

微信用户表

GO
CREATE TABLE [dbo].[ZL_WX_User](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](100) NULL,
[OpenID] [nvarchar](200) NULL,
[Sex] [int] NULL,
[City] [nvarchar](50) NULL,
[Province] [nvarchar](50) NULL,
[Country] [nvarchar](50) NULL,
[HeadImgUrl] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[Groupid] [int] NULL,
[AppId] [int] NULL,
CONSTRAINT [PK_ZL_WX_User] 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_WX_User

--注意:将删除整个表

drop table ZL_WX_User

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

TRUNCATE table ZL_WX_User