Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

49 wiersze
1.6 KiB

  1. --
  2. create table tb_albums (
  3. id int identity, --ID
  4. paixu int null default 0, --
  5. guid nvarchar(50) null, --guid
  6. big_img nvarchar(255) null, --ͼ·
  7. small_img nvarchar(255) null, --ͼ·
  8. remark nvarchar(500) null default '', --ע
  9. constraint PK_TB_ALBUMS primary key (id)
  10. )
  11. go
  12. declare @CurrentUser sysname
  13. select @CurrentUser = user_name()
  14. execute sp_addextendedproperty 'MS_Description',
  15. '����ID',
  16. 'user', @CurrentUser, 'table', 'tb_albums', 'column', 'id'
  17. go
  18. declare @CurrentUser sysname
  19. select @CurrentUser = user_name()
  20. execute sp_addextendedproperty 'MS_Description',
  21. '����',
  22. 'user', @CurrentUser, 'table', 'tb_albums', 'column', 'paixu'
  23. go
  24. declare @CurrentUser sysname
  25. select @CurrentUser = user_name()
  26. execute sp_addextendedproperty 'MS_Description',
  27. 'guid',
  28. 'user', @CurrentUser, 'table', 'tb_albums', 'column', 'guid'
  29. go
  30. declare @CurrentUser sysname
  31. select @CurrentUser = user_name()
  32. execute sp_addextendedproperty 'MS_Description',
  33. '��ͼ·��',
  34. 'user', @CurrentUser, 'table', 'tb_albums', 'column', 'big_img'
  35. go
  36. declare @CurrentUser sysname
  37. select @CurrentUser = user_name()
  38. execute sp_addextendedproperty 'MS_Description',
  39. '����ͼ·��',
  40. 'user', @CurrentUser, 'table', 'tb_albums', 'column', 'small_img'
  41. go
  42. declare @CurrentUser sysname
  43. select @CurrentUser = user_name()
  44. execute sp_addextendedproperty 'MS_Description',
  45. '��ע',
  46. 'user', @CurrentUser, 'table', 'tb_albums', 'column', 'remark'
  47. go