Advertisement
Aodai

Untitled

Sep 17th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.75 KB | None | 0 0
  1. use Arcadia
  2. DECLARE @id int = 503001
  3.  --> checking the identity of the item to determine the name of the id.
  4. DECLARE @name_id int = ( SELECT name_id FROM itemresource where id = @id )
  5.  --> checking the essentials of the id.
  6. SELECT id,type,class,rank,[level],socket,drop_type FROM itemresource where id = @id
  7.  --> checking the identity of the stated item.
  8. SELECT  value FROM stringresource where code = @name_id
  9. --> multiple searches at once.
  10. SELECT * from DropGroupResource where
  11.    (drop_item_id_00 = @id)
  12. or (drop_item_id_01 = @id)
  13. or (drop_item_id_02 = @id)
  14. or (drop_item_id_03 = @id)
  15. or (drop_item_id_04 = @id)
  16. or (drop_item_id_05 = @id)
  17. or (drop_item_id_06 = @id)
  18. or (drop_item_id_07 = @id)
  19. or (drop_item_id_08 = @id)
  20. or (drop_item_id_09 = @id)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement