表名:ZL_CardType












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1c_idint40  卡片类型ID
2typenamenvarchar1000    卡片类型名称
3iscountfloat80    折扣

简要说明:

用户点卡类型

GO
CREATE TABLE [dbo].[ZL_CardType](
[c_id] [int] IDENTITY(1,1) NOT NULL,
[typename] [nvarchar](100) NULL,
[iscount] [float] NULL,
CONSTRAINT [PK_cardtype] PRIMARY KEY CLUSTERED
(
[c_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_CardType', @level2type=N'COLUMN', @level2name=N'iscount'

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

detele from ZL_CardType

--注意:将删除整个表

drop table ZL_CardType

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

TRUNCATE table ZL_CardType