Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

51 řádky
1.4 KiB

  1. --Żȯ
  2. create table tb_couponuser (
  3. id int identity, --
  4. paixu int null default 0, --
  5. couponid int null default 0, --Żȯ
  6. name nvarchar(255) null default '', --ȡŻȯû
  7. couponstatus int null default 0, --Żȯʹ״̬(0δʹ/1ʹ)
  8. add_time datetime null default getdate(), --ʱ
  9. constraint PK_TB_COUPONUSER primary key (id)
  10. )
  11. go
  12. execute sp_addextendedproperty 'MS_Description',
  13. '��������',
  14. 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'id'
  15. go
  16. execute sp_addextendedproperty 'MS_Description',
  17. '����',
  18. 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'paixu'
  19. go
  20. execute sp_addextendedproperty 'MS_Description',
  21. '�Ż�ȯ����',
  22. 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'couponid'
  23. go
  24. execute sp_addextendedproperty 'MS_Description',
  25. '��ȡ�Ż�ȯ�û���',
  26. 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'name'
  27. go
  28. execute sp_addextendedproperty 'MS_Description',
  29. '�Ż�ȯʹ��״̬(0δʹ��/1��ʹ��)',
  30. 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'couponstatus'
  31. go
  32. execute sp_addextendedproperty 'MS_Description',
  33. '����ʱ��',
  34. 'user', 'dbo', 'table', 'tb_couponuser', 'column', 'add_time'
  35. go