PVP SERVER
BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI Yuo
PVP SERVER
BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI Yuo
PVP SERVER
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
AnasayfaAnasayfa  AramaArama  Latest imagesLatest images  Kayıt OlKayıt Ol  Giriş yapGiriş yap  

 

 BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI

Aşağa gitmek 
YazarMesaj
OxyDante
Snake Queen
OxyDante


Ruh Hali : BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI Yurekl10
Job : BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI 14tc1sw
Mesaj Sayısı : 210
Kayıt tarihi : 18/09/09

BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI Empty
MesajKonu: BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI   BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI Icon_minitimeC.tesi Eyl. 19, 2009 12:43 pm

CREATE PROCEDURE ACCOUNT_LOGIN
@AccountID varchar(21),
@Password varchar(13),
@nRet smallint OUTPUT
AS
delete from currentuser where straccountid = @AccountID
---Coded By ShellX---
declare @cnt BigInt
declare @nDays smallint
select @nRet = count(straccountid) from tb_user where straccountid = @AccountID
if @nRet = 0
begin
insert into tb_user (straccountid, strpasswd, strSocNo, idays) values (@AccountID, @password, 1, '6')
end
select @cnt = count(straccountid) from currentuser
select @nDays = count(nDays) from PREMIUM_SERVICE where straccountid = @AccountID
if @cnt > 40 and @nDays = '0'
begin
set @nRet = 0
end
if @cnt > 40 and @nDays = null
begin
set @nRet = 0
end
DECLARE @Nation tinyint
SET @Nation = 0
-- tid login method by samma 2004.02.24
DECLARE @pwd varchar(13)
SET @pwd = null
SELECT @pwd = strPasswd FROM TB_USER WHERE strAccountID = @AccountID
IF @pwd IS null
BEGIN
SET @nRet = 0
RETURN
END
Sayfa başına dön Aşağa gitmek
 
BAZI DB LERDE OLAN SORUN!!!OTO ÜYELİK OLMAMASI
Sayfa başına dön 
1 sayfadaki 1 sayfası
 Similar topics
-
» Oto Üyelik
» JAPKO ÜYELİK PLEASE !
» Oto Üyelik Kaldır...
» Japko'da Lazım Olcak Bazı Japonca Kelimeler
» War Rock İtem Shopta bulunmayan bazı silahların Özellikleri!!

Bu forumun müsaadesi var:Bu forumdaki mesajlara cevap veremezsiniz
PVP SERVER :: Knight Online PvP :: Query Analyzer QA Kodları-
Buraya geçin: