序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | |||
2 | UserID | int | 4 | 0 | 否 | 用户ID | ||||
3 | UserName | nvarchar | 100 | 0 | 是 | 用户名 | ||||
4 | ProIDS | text | 16 | 0 | 是 | 商品IDS | ||||
5 | Remind | nvarchar | 500 | 0 | 是 | 备注信息 |
特选商品绑定表
GO
CREATE TABLE [dbo].[ZL_User_BindPro](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[UserName] [nvarchar](100) NULL,
[ProIDS] [text] NULL,
[Remind] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_User_BindPro] 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_User_BindPro
drop table ZL_User_BindPro
TRUNCATE table ZL_User_BindPro