表名:ZL_User_Token












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2uidint40    用户ID
3SinaTokennvarchar5000    新浪Token
4QQOpenIDnvarchar5000    QQ的OpenID,相当于QQ用户ID(其他的改为用DataTable存储)
5QQTokennvarchar5000    QQ Token
6QQUNamenvarchar1000    昵称
7WXOpenIDnvarchar1000    微信用户openid
8WXInfonvarchar30000    微信详情

简要说明:

用户平台平台绑定表

GO
CREATE TABLE [dbo].[ZL_User_Token](
[ID] [int] IDENTITY(1,1) NOT NULL,
[uid] [int] NOT NULL,
[SinaToken] [nvarchar](500) NULL,
[QQOpenID] [nvarchar](500) NULL,
[QQToken] [nvarchar](500) NULL,
[QQUName] [nvarchar](100) NULL,
[WXOpenID] [nvarchar](100) NULL,
[WXInfo] [nvarchar](3000) NULL,
CONSTRAINT [PK_ZL_User_Token] 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_User_Token

--注意:将删除整个表

drop table ZL_User_Token

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

TRUNCATE table ZL_User_Token