- Katılım
- 28 Ağustos 2014
- Mesajlar
- 801
- Reaction score
- 24
- Puanları
- 18
- Yaş
- 38
ACCOUNT_LOGIN PROSEDÜRÜNÜZÜN İÇİNDEN AŞAĞIDAKİ KODU BULUN.
DAHA SONRASINDA BULDUGUNUZ BU KODUN ALTINA BU KODU EKLEYİN

Bu Dosya Demir Tarafından Paylaşılmıştır.
Lütfen Tesekkür Etmeyi Unutmayınız.
Dilek Ve Sikayetleriniz İçin
Skype : Demirbilisim
[/CENTER]
Kod:
CREATE PROCEDURE ACCOUNT_LOGIN
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT
AS
DAHA SONRASINDA BULDUGUNUZ BU KODUN ALTINA BU KODU EKLEYİN
Kod:
*/
declare @ban int , @ban1 int, @ban2 int
select @nRet = count(straccountid) from currentuser
select @ban = authority from userdata where struserid = (select strcharid1 from account_char where straccountid = @AccountID and strcharid1 is not null )
select @ban1 = authority from userdata where struserid = (select strcharid2 from account_char where straccountid = @AccountID and strcharid1 is not null )
select @ban2 = authority from userdata where struserid = (select strcharid3 from account_char where straccountid = @AccountID and strcharid1 is not null )
if @ban = 255 or @ban1 = 255 or @ban2 = 255
begin
Set @nRet = 4
RETURN
end

Bu Dosya Demir Tarafından Paylaşılmıştır.
Lütfen Tesekkür Etmeyi Unutmayınız.
Dilek Ve Sikayetleriniz İçin
Skype : Demirbilisim