CREATE PROCEDURE [dbo].[up_read_item_inventory] @character_id [uniqueidentifier] as set nocount on set transaction isolation level read uncommitted select * from dbo.N_InventoryItem with (nolock) where character_id = @character_id and page_index >= 0 and slot_index >= 0 --and use_cnt > 0; return @@error