GO
DECLARE @id Integer
SELECT @id = [user_id] from [RohanGame].[dbo].[TCharacter]
where [RohanGame].[dbo].[TCharacter].name like 'BigServGame'
BEGIN
INSERT INTO [RohanUser].[dbo].[TDisconnect] (user_id, server_id, char_id)
values(@id,31,0)
END
INSERT INTO [RohanUser].[dbo].[TDisconnect] (user_id ,server_id, char_id)
VALUES (21272, 31, 0)
I hope this's the best solution, thanks for shareQuote:
I use this solution.
BigServGame replace to your character name :D
orPHP Code:GO
DECLARE @id Integer
SELECT @id = [user_id] from [RohanGame].[dbo].[TCharacter]
where [RohanGame].[dbo].[TCharacter].name like 'BigServGame'
BEGIN
INSERT INTO [RohanUser].[dbo].[TDisconnect] (user_id, server_id, char_id)
values(@id,31,0)
END
:DPHP Code:INSERT INTO [RohanUser].[dbo].[TDisconnect] (user_id ,server_id, char_id)
VALUES (21272, 31, 0)
doesn't work for me, still the same :(Quote:
I use this solution.
BigServGame replace to your character name :D
orPHP Code:GO
DECLARE @id Integer
SELECT @id = [user_id] from [RohanGame].[dbo].[TCharacter]
where [RohanGame].[dbo].[TCharacter].name like 'BigServGame'
BEGIN
INSERT INTO [RohanUser].[dbo].[TDisconnect] (user_id, server_id, char_id)
values(@id,31,0)
END
:DPHP Code:INSERT INTO [RohanUser].[dbo].[TDisconnect] (user_id ,server_id, char_id)
VALUES (21272, 31, 0)