Advertisement
Rochet2

Untitled

Jul 4th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. local Q = WorldDBQuery("select (b.xp >= a.xp) from noterity_level_xp a, character_noterity_levels b where b.name ='test' and a.level = b.level;")
  2. if (Q) then
  3.     print(Q:GetColumnCount())
  4.     print(Q:GetRowCount())
  5.     print()
  6.     print(Q:GetBool(0))
  7.     print(Q:GetUInt8(0))
  8.     print(Q:GetUInt16(0))
  9.     print(Q:GetUInt32(0))
  10.     print(Q:GetUInt64(0))
  11.     print(Q:GetInt8(0))
  12.     print(Q:GetInt16(0))
  13.     print(Q:GetInt32(0))
  14.     print(Q:GetInt64(0))
  15.     print(Q:GetFloat(0))
  16.     print(Q:GetDouble(0))
  17.     print(Q:GetString(0))
  18.     print(Q:GetCString(0))
  19.     print(Q:IsNull(0))
  20. else
  21.     print("Q_Q")
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement