Hello World!
I want to make a function so that when creating an Account, a character is auto created.
I created a function, and a "Nickname" column in Accounts.
https://pastebin.com/NHxXAtGJ
this not work
this not workPHP Code:DECLARE @in_Gamertag nvarchar
IF(@in_NickName = @in_Gamertag)
BEGIN
SET @in_NickName = @in_Gamertag
UPDATE UsersChars SET Gamertag=@in_Gamertag WHERE CustomerID [MENTION=25895]Custom[/MENTION]erID
END
PHP Code:-- get new Char
declare @in_Gamertag varchar
SELECT @in_NickName, [MENTION=25895]Custom[/MENTION]erID from UsersChars as Gamertag
exec UsersChars set @in_NickName=@in_Gamertag as CustomerID [MENTION=25895]Custom[/MENTION]erID



Reply With Quote



