CREATE PROCEDURE [dbo].[up_update_event_mailattach] @character_id [uniqueidentifier], @mailattach tinyint as begin set nocount on update CharacterTable set event_mailattach = @mailattach where character_id = @character_id end