|
|
- --�Ż�ȯ��
- create table tb_couponuser (
- id int identity, --��������
- paixu int null default 0, --����
-
-
- couponid int null default 0, --�Ż�ȯ����
-
- name nvarchar(255) null default '', --��ȡ�Ż�ȯ�û���
-
- couponstatus int null default 0, --�Ż�ȯʹ��״̬(0δʹ��/1��ʹ��)
-
- add_time datetime null default getdate(), --����ʱ��
- constraint PK_TB_COUPONUSER primary key (id)
- )
- go
-
- execute sp_addextendedproperty 'MS_Description',
- '��������',
- 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'id'
- go
- execute sp_addextendedproperty 'MS_Description',
- '����',
- 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'paixu'
- go
-
-
-
- execute sp_addextendedproperty 'MS_Description',
- '�Ż�ȯ����',
- 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'couponid'
- go
-
- execute sp_addextendedproperty 'MS_Description',
- '��ȡ�Ż�ȯ�û���',
- 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'name'
- go
-
- execute sp_addextendedproperty 'MS_Description',
- '�Ż�ȯʹ��״̬(0δʹ��/1��ʹ��)',
- 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'couponstatus'
- go
-
-
- execute sp_addextendedproperty 'MS_Description',
- '����ʱ��',
- 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'add_time'
- go
-
-
-
|