عرض مشاركة واحدة
قديم 09-01-2016, 04:21 PM   #7

HLP
عضو فعال



الصورة الرمزية HLP


• الانـتـسـاب » Mar 2013
• رقـم العـضـويـة » 110603
• المشـــاركـات » 341
• الـدولـة » Hurghada
• الـهـوايـة » DeveloP AnyThing
• اسـم الـسـيـرفـر » Private Server
• الـجـنـس » Male
• نقـاط التقييم » 10
HLP صـاعـد

HLP غير متواجد حالياً



افتراضي رد: مشكلة في اكونت GM الرجاء الرد



جرب و اقولي بس اعمل اكونت جديد
USE [SRO_VT_ACCOUNT]
GO
/****** Object:  StoredProcedure [dbo].[_CertifyUser]    Script Date: 01/09/2016 15:19:28 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure 
[dbo].[_CertifyUser]
    @
szUserID        varchar(25),
    @
szPassword    varchar(50),
    @
szSSNumber    varchar(32)
as
    declare @
nUserJID int
    
declare @sec_primary tinyint
    
declare @sec_content tinyint
    set    
@nUserJID        0
    set    
@sec_primary    0
    set    
@sec_content    0
    
if (not exists(select JID from TB_User where StrUserID = @szUserID))
    
begin
        select convert
int0), converttinyint0), converttinyint0)
        return
    
end
    select 
@nUserJID JID from TB_User where StrUserID = @szUserID
    
if (@nUserJID or @nUserJID is null or @@error <> or @@rowcount 0)
    
begin
        select convert
int0), converttinyint0), converttinyint0)
        return
    
end    
    
if (not exists(select JID from TB_User where JID = @nUserJID and password = @szPassword))
    
begin
        select convert
int0), converttinyint0), converttinyint0)
        return
    
end    
    
    select 
@sec_primary sec_primary, @sec_content sec_content from TB_User with (nolockwhere JID = @nUserJID
    select 
@nUserJID, @sec_primary, @sec_content 
USE [SRO_VT_ACCOUNT]
GO
/****** Object:  StoredProcedure [dbo].[_CertifyTB_User]    Script Date: 01/09/2016 15:21:33 ******/
SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO


ALTER    PROCEDURE 
[dbo].[_CertifyTB_User]
    @
szUserID    varchar(25),
    @
szPassword    varchar(50)
AS
    declare @
nUserJID int
    
declare @sec_primary tinyint
    
declare @sec_content tinyint
    set    
@nUserJID        0
    set    
@sec_primary        0
    set    
@sec_content        0
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--        
؛£ئ®³² °واèؤ، ء¾·®ء¦ (أض¼±ب£)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    declare @
AccPlayTime int
    
declare @LatestUpdateTime_ToPlayTime int
    set 
@AccPlayTime 0
    set 
@LatestUpdateTime_ToPlayTime 0
    select 
@nUserJID JID, @sec_primary sec_primary, @sec_content sec_content, @AccPlayTime AccPlayTime, @LatestUpdateTime_ToPlayTime LatestUpdateTime_ToPlayTime from TB_User
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    
where StrUserID = @szUserID and password = @szPassword
    
if( @nUserJID or @nUserJID is null or @@error <> or @@rowcount 0)
    
begin
        select convert
tinyint1), convertint0), converttinyint0), converttinyint0)
        return
    
end
    
if( existsselect Type from _BlockedUser where UserJID = @nUserJID and Type and getdate() between timeBegin and timeEnd))
    
begin
        select convert
tinyint3), @nUserJIDconverttinyint0), converttinyint0)
        return
    
end

--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--        
؛£ئ®³² °واèؤ، ء¾·®ء¦ (أض¼±ب£)
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
select convert(tinyint0), @nUserJID, @sec_primary, @sec_content, @AccPlayTime, @LatestUpdateTime_ToPlayTime
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
--@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    return 


توقيع HLP :
My New Intro




رد مع اقتباس