15 lines
334 B
Transact-SQL
15 lines
334 B
Transact-SQL
CREATE PROCEDURE [dbo].[up_update_pet_exp]
|
|
@pet_id [uniqueidentifier],
|
|
@character_id [uniqueidentifier],
|
|
@Experience bigint
|
|
as
|
|
set nocount on
|
|
|
|
update dbo.PetTable set
|
|
Experience = @Experience
|
|
|
|
where pet_id = @pet_id;
|
|
|
|
select * from dbo.PetTable with (READUNCOMMITTED) where character_id = @character_id
|
|
|
|
return @@error
|