create_tbl_character_magic.sql
上传用户:szopptop
上传日期:2013-04-23
资源大小:1047k
文件大小:4k
源码类别:

模拟服务器

开发平台:

Visual C++

  1. /* **************************************************************************
  2. Create Database for Legend of Mir 2
  3. All written by Euy-heon, Jeong
  4. Copyright (C) 2001 Wemade Entertainment. All rights reserved.
  5.    *************************************************************************** */
  6. USE LEGENDOFMIR
  7. GO
  8. DROP TABLE TBL_CHARACTER_MAGIC
  9. GO
  10. /* 
  11. User Character Magic Table
  12. */
  13. CREATE TABLE TBL_CHARACTER_MAGIC
  14. (
  15. FLD_LOGINID CHAR(10) NOT NULL,
  16. FLD_CHARNAME CHAR(20) NOT NULL,
  17. FLD_LEVEL0 TINYINT DEFAULT(0),
  18. FLD_USEKEY0 TINYINT DEFAULT(0),
  19. FLD_CURRTRAIN0 INT DEFAULT(0),
  20. FLD_LEVEL1 TINYINT DEFAULT(0),
  21. FLD_USEKEY1 TINYINT DEFAULT(0),
  22. FLD_CURRTRAIN1 INT DEFAULT(0),
  23. FLD_LEVEL2 TINYINT DEFAULT(0),
  24. FLD_USEKEY2 TINYINT DEFAULT(0),
  25. FLD_CURRTRAIN2 INT DEFAULT(0),
  26. FLD_LEVEL3 TINYINT DEFAULT(0),
  27. FLD_USEKEY3 TINYINT DEFAULT(0),
  28. FLD_CURRTRAIN3 INT DEFAULT(0),
  29. FLD_LEVEL4 TINYINT DEFAULT(0),
  30. FLD_USEKEY4 TINYINT DEFAULT(0),
  31. FLD_CURRTRAIN4 INT DEFAULT(0),
  32. FLD_LEVEL5 TINYINT DEFAULT(0),
  33. FLD_USEKEY5 TINYINT DEFAULT(0),
  34. FLD_CURRTRAIN5 INT DEFAULT(0),
  35. FLD_LEVEL6 TINYINT DEFAULT(0),
  36. FLD_USEKEY6 TINYINT DEFAULT(0),
  37. FLD_CURRTRAIN6 INT DEFAULT(0),
  38. FLD_LEVEL7 TINYINT DEFAULT(0),
  39. FLD_USEKEY7 TINYINT DEFAULT(0),
  40. FLD_CURRTRAIN7 INT DEFAULT(0),
  41. FLD_LEVEL8 TINYINT DEFAULT(0),
  42. FLD_USEKEY8 TINYINT DEFAULT(0),
  43. FLD_CURRTRAIN8 INT DEFAULT(0),
  44. FLD_LEVEL9 TINYINT DEFAULT(0),
  45. FLD_USEKEY9 TINYINT DEFAULT(0),
  46. FLD_CURRTRAIN9 INT DEFAULT(0),
  47. FLD_LEVEL10 TINYINT DEFAULT(0),
  48. FLD_USEKEY10 TINYINT DEFAULT(0),
  49. FLD_CURRTRAIN10 INT DEFAULT(0),
  50. FLD_LEVEL11 TINYINT DEFAULT(0),
  51. FLD_USEKEY11 TINYINT DEFAULT(0),
  52. FLD_CURRTRAIN11 INT DEFAULT(0),
  53. FLD_LEVEL12 TINYINT DEFAULT(0),
  54. FLD_USEKEY12 TINYINT DEFAULT(0),
  55. FLD_CURRTRAIN12 INT DEFAULT(0),
  56. FLD_LEVEL13 TINYINT DEFAULT(0),
  57. FLD_USEKEY13 TINYINT DEFAULT(0),
  58. FLD_CURRTRAIN13 INT DEFAULT(0),
  59. FLD_LEVEL14 TINYINT DEFAULT(0),
  60. FLD_USEKEY14 TINYINT DEFAULT(0),
  61. FLD_CURRTRAIN14 INT DEFAULT(0),
  62. FLD_LEVEL15 TINYINT DEFAULT(0),
  63. FLD_USEKEY15 TINYINT DEFAULT(0),
  64. FLD_CURRTRAIN15 INT DEFAULT(0),
  65. FLD_LEVEL16 TINYINT DEFAULT(0),
  66. FLD_USEKEY16 TINYINT DEFAULT(0),
  67. FLD_CURRTRAIN16 INT DEFAULT(0),
  68. FLD_LEVEL17 TINYINT DEFAULT(0),
  69. FLD_USEKEY17 TINYINT DEFAULT(0),
  70. FLD_CURRTRAIN17 INT DEFAULT(0),
  71. FLD_LEVEL18 TINYINT DEFAULT(0),
  72. FLD_USEKEY18 TINYINT DEFAULT(0),
  73. FLD_CURRTRAIN18 INT DEFAULT(0),
  74. FLD_LEVEL19 TINYINT DEFAULT(0),
  75. FLD_USEKEY19 TINYINT DEFAULT(0),
  76. FLD_CURRTRAIN19 INT DEFAULT(0),
  77. FLD_LEVEL20 TINYINT DEFAULT(0),
  78. FLD_USEKEY20 TINYINT DEFAULT(0),
  79. FLD_CURRTRAIN20 INT DEFAULT(0),
  80. FLD_LEVEL21 TINYINT DEFAULT(0),
  81. FLD_USEKEY21 TINYINT DEFAULT(0),
  82. FLD_CURRTRAIN21 INT DEFAULT(0),
  83. FLD_LEVEL22 TINYINT DEFAULT(0),
  84. FLD_USEKEY22 TINYINT DEFAULT(0),
  85. FLD_CURRTRAIN22 INT DEFAULT(0),
  86. FLD_LEVEL23 TINYINT DEFAULT(0),
  87. FLD_USEKEY23 TINYINT DEFAULT(0),
  88. FLD_CURRTRAIN23 INT DEFAULT(0),
  89. FLD_LEVEL24 TINYINT DEFAULT(0),
  90. FLD_USEKEY24 TINYINT DEFAULT(0),
  91. FLD_CURRTRAIN24 INT DEFAULT(0),
  92. FLD_LEVEL25 TINYINT DEFAULT(0),
  93. FLD_USEKEY25 TINYINT DEFAULT(0),
  94. FLD_CURRTRAIN25 INT DEFAULT(0),
  95. FLD_LEVEL26 TINYINT DEFAULT(0),
  96. FLD_USEKEY26 TINYINT DEFAULT(0),
  97. FLD_CURRTRAIN26 INT DEFAULT(0),
  98. FLD_LEVEL27 TINYINT DEFAULT(0),
  99. FLD_USEKEY27 TINYINT DEFAULT(0),
  100. FLD_CURRTRAIN27 INT DEFAULT(0),
  101. FLD_LEVEL28 TINYINT DEFAULT(0),
  102. FLD_USEKEY28 TINYINT DEFAULT(0),
  103. FLD_CURRTRAIN28 INT DEFAULT(0),
  104. FLD_LEVEL29 TINYINT DEFAULT(0),
  105. FLD_USEKEY29 TINYINT DEFAULT(0),
  106. FLD_CURRTRAIN29 INT DEFAULT(0),
  107. FLD_LEVEL30 TINYINT DEFAULT(0),
  108. FLD_USEKEY30 TINYINT DEFAULT(0),
  109. FLD_CURRTRAIN30 INT DEFAULT(0),
  110. )
  111. GO
  112. ALTER TABLE TBL_CHARACTER_MAGIC ADD CONSTRAINT PK_CHARACTER_MAGIC  PRIMARY KEY (FLD_LOGINID, FLD_CHARNAME)
  113. GO