CREATE procedure [dbo].[up_save_server_info] @auth_id uniqueidentifier, @real_ip varchar(16), @server_ip varchar(16), @host_id int, @ServerType char(2), @ServerID int as set nocount on update AuthTable set [online]='1',[world_id]=@ServerID, [IP] = @real_ip, [ServerIP] = @server_ip, [ServerType]=@ServerType, [HostID]=@host_id from AuthTable where AuthID = @auth_id return @@error