Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 1.58 KB | None | 0 0
  1. CREATE PROCEDURE [dbo].[UMG_UPDATE_USER_DATA2]
  2.     @id         VARCHAR(21),
  3.     @Nation tinyint,
  4.     @Race       tinyint,
  5.     @Class      SMALLINT,
  6.     @HairColor  tinyint,
  7.     @Rank       tinyint,
  8.     @Title      tinyint,
  9.     @Level      tinyint,
  10.     @EXP        INT,
  11.     @Loyalty    INT,
  12.     @Face       tinyint,
  13.     @City       tinyint,   
  14.     @Knights    SMALLINT,
  15.     @Fame       tinyint,
  16.     @Hp     SMALLINT,
  17.     @Mp     SMALLINT,
  18.     @Sp     SMALLINT,
  19.     @Str        tinyint,
  20.     @Sta        tinyint,
  21.     @Dex        tinyint,
  22.     @Intel      tinyint,
  23.     @Cha        tinyint,
  24.     @Authority  tinyint,
  25.     @Points     tinyint,   
  26.     @Gold       INT,
  27.     @Zone       tinyint,
  28.     @Bind       SMALLINT,
  29.     @PX     INT,
  30.     @PZ     INT,
  31.     @PY     INT,
  32.     @dwTime INT,
  33.     @QuestTotal     SMALLINT,
  34.     @strSkill   VARCHAR(20),
  35.     @strItem    VARCHAR(400),
  36.     @strSerial  VARCHAR(400),
  37.     @strQuest   VARCHAR(400),
  38.     @MannerPoint   INT,
  39.     @LoyaltyMonthly INT
  40. AS
  41.  
  42. UPDATE  USERDATA
  43. SET
  44.     Nation      = @Nation,
  45.     Race        = @Race,
  46.     Class       = @Class,
  47.     HairColor   = @HairColor,
  48.     Rank        = @Rank,
  49.     Title       = @Title,
  50.     [Level]     = @Level,
  51.     [EXP]       = @EXP,
  52.     Loyalty     = @Loyalty,
  53.     Face        = @Face,
  54.     City        = @City,   
  55.     Knights     = @Knights,
  56.     Fame        = @Fame,
  57.     Hp      = @Hp,
  58.     Mp      = @Mp,
  59.     Sp      = @Sp,
  60.     Strong      = @Str,
  61.     Sta     = @Sta,
  62.     Dex     = @Dex,
  63.     Intel       = @Intel,
  64.     Cha     = @Cha,
  65.     Authority   = @Authority,
  66.     Points      = @Points,
  67.     Gold        = @Gold,
  68.     [Zone]      = @Zone,
  69.     Bind        = @Bind,
  70.     PX      = @PX,
  71.     PZ      = @PZ,
  72.     PY      = @PY,
  73.     dwTime      = @dwTime,
  74.     strSkill        = @strSkill,
  75.     strItem     = @strItem,
  76.     strSerial       = @strSerial,   -- 2002 11. 12
  77.     sQuestCount = @QuestTotal,  -- 2003.04.09
  78.     strQuest        = @strQuest,    -- 2003.04.09
  79.     MannerPoint     = @MannerPoint, -- 2004.01.30
  80.     LoyaltyMonthly  = @LoyaltyMonthly   -- 2004.04.29
  81. WHERE   strUserId   = @id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement