表名:ZL_ServiceSeat












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1S_IDint40   
2S_Namenvarchar500    席位名称
3S_AdminIDint40    管理员编号
4S_DateTimenvarchar500    设置时间
5S_Indexint40    显示索引
6S_Remrknvarchar5000    备注
7S_Defaultint40    是否默认客服
8S_FaceImgnvarchar5000    客服头像

简要说明:

客服信息表

GO
CREATE TABLE [dbo].[ZL_ServiceSeat](
[S_ID] [int] IDENTITY(1,1) NOT NULL,
[S_Name] [nvarchar](50) NULL,
[S_AdminID] [int] NULL,
[S_DateTime] [nvarchar](50) NULL,
[S_Index] [int] NULL,
[S_Remrk] [nvarchar](500) NULL,
[S_Default] [int] NULL,
[S_FaceImg] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_ServiceSeat] PRIMARY KEY CLUSTERED ([S_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'席位名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_Name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_AdminID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设置时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_DateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示索引' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_Index'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_Remrk'

--注意:将清空全表数据

detele from ZL_ServiceSeat

--注意:将删除整个表

drop table ZL_ServiceSeat

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

TRUNCATE table ZL_ServiceSeat