Can someone Report dbo.createaccount query?

Results 1 to 5 of 5
  1. #1
    ASDFGHJKL RckyCls is offline
    Grand MasterRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Can someone Report dbo.createaccount query?

    i need it .xD i cant find on search,.

    ---------- Post added at 09:34 AM ---------- Previous post was at 09:10 AM ----------

    i mean Repost XD


  2. #2
    Newbie Niz is offline
    MemberRank
    Jul 2010 Join Date
    17Posts

    Re: Can someone Report dbo.createaccount query?

    Code:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[createaccount] 
    	@account 	VARCHAR(15),
    	@password 	VARCHAR(32)
    
    AS
    
    SET NOCOUNT  ON
    
    DECLARE @DateActivated AS CHAR(8)
    
    IF NOT EXISTS (SELECT account FROM ACCOUNT_TBL WHERE account = @account) BEGIN
    	INSERT INTO ACCOUNT_TBL (account, [password], id_no2, isuse, member, realname) 
    		VALUES (@account, @password, @password, 'T', 'A', 'F')
    
    	SET @DateActivated =  CONVERT(CHAR(8), GETDATE()-1, 112 ) --Is the date today - 1
    	--UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = @DateYesterday WHERE account = @userid		
    	--INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
    	--	VALUES (@account, 'A000', '2', 'F', GETDATE(), '20990101', '20990101', '20050101', 'O')
    
    	INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
    		VALUES (@account, 'A000', '2', 'F', GETDATE(), @DateActivated, '20990101', '20050101', 'O')
    
    END

  3. #3
    ASDFGHJKL RckyCls is offline
    Grand MasterRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Can someone Report dbo.createaccount query?

    Quote Originally Posted by Niz View Post
    Code:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[createaccount] 
    	@account 	VARCHAR(15),
    	@password 	VARCHAR(32)
    
    AS
    
    SET NOCOUNT  ON
    
    DECLARE @DateActivated AS CHAR(8)
    
    IF NOT EXISTS (SELECT account FROM ACCOUNT_TBL WHERE account = @account) BEGIN
    	INSERT INTO ACCOUNT_TBL (account, [password], id_no2, isuse, member, realname) 
    		VALUES (@account, @password, @password, 'T', 'A', 'F')
    
    	SET @DateActivated =  CONVERT(CHAR(8), GETDATE()-1, 112 ) --Is the date today - 1
    	--UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = @DateYesterday WHERE account = @userid		
    	--INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
    	--	VALUES (@account, 'A000', '2', 'F', GETDATE(), '20990101', '20990101', '20050101', 'O')
    
    	INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
    		VALUES (@account, 'A000', '2', 'F', GETDATE(), @DateActivated, '20990101', '20050101', 'O')
    
    END
    thanks.

  4. #4
    ASDFGHJKL RckyCls is offline
    Grand MasterRank
    Apr 2010 Join Date
    At your back!Location
    730Posts

    Re: Can someone Report dbo.createaccount query?

    Next Problem .
    Already Executed the Query still there is no dbo.createaccount

  5. #5
    Sorcerer Supreme Satan is offline
    Member +Rank
    Jul 2010 Join Date
    Hells Gates ;<Location
    406Posts

    Re: Can someone Report dbo.createaccount query?

    In the Video guide I have.. download the Databases =x It's in there.



Advertisement