序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 是 | 否 | 主键 | ||
2 | ShopName | nvarchar | 50 | 0 | 是 | 店铺名称 | ||||
3 | ShopImg | nvarchar | 100 | 0 | 是 | 店铺图片 | ||||
4 | UserID | int | 4 | 0 | 是 | 用户ID | ||||
5 | UserName | nvarchar | 50 | 0 | 是 | 用户名 | ||||
6 | posX | nvarchar | 50 | 0 | 是 | X轴坐标 | ||||
7 | posY | nvarchar | 50 | 0 | 是 | Y轴坐标 | ||||
8 | ShopStatus | int | 4 | 0 | 是 | 店铺状态 | ||||
9 | Remind | nvarchar | 50 | 0 | 是 | 备注 |
3D模块店铺表
CREATE TABLE [dbo].[ZL_3DShop] (
[ID] [int] IDENTITY (1, 1) NOT NULL,
[ShopName] [nvarchar] (50) NULL,
[ShopImg] [nvarchar] (100) NULL,
[UserID] [int] NULL,
[UserName] [nvarchar] (50) NULL,
[posX] [nvarchar] (50) NULL,
[posY] [nvarchar] (50) NULL,
[ShopStatus] [int] NULL,
[Remind] [nvarchar] (50) NULL)
ALTER TABLE [ZL_3DShop] WITH NOCHECK ADD CONSTRAINT [PK_ZL_3DShop] PRIMARY KEY NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_3DShop] ON
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 1,N'日用百货',N'/Images/Style3D/c1.png',1,N'admin',N'600',N'210')
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 2,N'家居杂货',N'/Images/Style3D/node.gif',1,N'admin',N'500',N'300')
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 3,N'小靓服饰',N'/Images/Style3D/node.gif',1,N'admin',N'500',N'400')
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 4,N'华毅装修',N'/Images/Style3D/c1.png',1,N'admin',N'400',N'450')
SET IDENTITY_INSERT [ZL_3DShop] OFF
detele from ZL_3DShop
drop table ZL_3DShop
TRUNCATE table ZL_3DShop