Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. /****** Object: Table [dbo].[T_PentagramInfo] Script Date: 03/10/2014 17:09:47 ******/
  2. SET ANSI_NULLS ON
  3. GO
  4. SET QUOTED_IDENTIFIER ON
  5. GO
  6. SET ANSI_PADDING ON
  7. GO
  8. IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[T_PentagramInfo]') AND type in (N'U'))
  9. BEGIN
  10. CREATE TABLE [dbo].[T_PentagramInfo](
  11. [UserGuid] [int] NOT NULL,
  12. [AccountID] [varchar](10) NOT NULL,
  13. [Name] [varchar](10) NOT NULL,
  14. [JewelPos] [tinyint] NOT NULL,
  15. [JewelIndex] [smallint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_JewelIndex] DEFAULT ((255)),
  16. [ItemType] [smallint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_ItemType] DEFAULT ((255)),
  17. [ItemIndex] [smallint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_ItemIndex] DEFAULT ((511)),
  18. [MainAttribute] [smallint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_MainAttribute] DEFAULT ((255)),
  19. [JewelLevel] [smallint] NOT NULL,
  20. [Rank1] [tinyint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_Rank1] DEFAULT ((255)),
  21. [Rank1Level] [tinyint] NULL,
  22. [Rank2] [tinyint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_Rank2] DEFAULT ((255)),
  23. [Rank2Level] [tinyint] NULL,
  24. [Rank3] [tinyint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_Rank3] DEFAULT ((255)),
  25. [Rank3Level] [tinyint] NULL,
  26. [Rank4] [tinyint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_Rank4] DEFAULT ((255)),
  27. [Rank4Level] [tinyint] NULL,
  28. [Rank5] [tinyint] NOT NULL CONSTRAINT [DF_T_PentagramInfo_Rank5] DEFAULT ((255)),
  29. [Rank5Level] [tinyint] NULL,
  30. [RegDate] [datetime] NULL CONSTRAINT [DF_T_PentagramInfo_RegDate] DEFAULT (getdate()),
  31. CONSTRAINT [PK_T_PentagramInfo] PRIMARY KEY CLUSTERED
  32. (
  33. [AccountID] ASC,
  34. [Name] ASC,
  35. [JewelPos] ASC,
  36. [JewelIndex] ASC
  37. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  38. ) ON [PRIMARY]
  39. END
  40. GO
  41. SET ANSI_PADDING OFF
  42. GO
  43. /****** Object: Table [dbo].[T_Pentagram] Script Date: 03/10/2014 17:09:47 ******/
  44. SET ANSI_NULLS ON
  45. GO
  46. SET QUOTED_IDENTIFIER ON
  47. GO
  48. SET ANSI_PADDING ON
  49. GO
  50. IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[T_Pentagram]') AND type in (N'U'))
  51. BEGIN
  52. CREATE TABLE [dbo].[T_Pentagram](
  53. [AccountID] [varchar](10) NOT NULL,
  54. [Name] [varchar](10) NOT NULL,
  55. [AddInventory] [varbinary](16) NULL,
  56. [MDate] [datetime] NULL,
  57. [LDate] [datetime] NULL CONSTRAINT [DF_T_Pentagram_MDate] DEFAULT (getdate()),
  58. CONSTRAINT [PK_T_Pentagram] PRIMARY KEY CLUSTERED
  59. (
  60. [Name] ASC
  61. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  62. ) ON [PRIMARY]
  63. END
  64. GO
  65. SET ANSI_PADDING OFF
  66. GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement