Tbl_log_block_account

Results 1 to 5 of 5
  1. #1
    Cyclops-Network Owner Alexsh is offline
    MemberRank
    Sep 2009 Join Date
    New YorkLocation
    306Posts

    Tbl_log_block_account

    I got bored and decided to look through some of the procedures for the account database, whilst looking I came across the ban/unban procedure. I then re-created the table to make it function correctly to ban/unban accounts. Simply execute the following query into your account database and enjoy

    Code:
    USE [ACCOUNT_DBF]
    GO
    
    /****** Object:  Table [dbo].[TBL_LOG_BLOCK_ACCOUNT]    Script Date: 02/19/2010 05:33:00 ******/
    SET ANSI_NULLS ON
    GO
    
    SET QUOTED_IDENTIFIER ON
    GO
    
    SET ANSI_PADDING ON
    GO
    
    CREATE TABLE [dbo].[TBL_LOG_BLOCK_ACCOUNT](
    	[account] [varchar](50) NOT NULL,
    	[code1] [char](8) NOT NULL,
    	[code2] [char](8) NOT NULL,
    	[code3] [char](8) NOT NULL,
    	[old_block_day] [char](8) NOT NULL,
    	[old_web_day] [char](8) NOT NULL,
    	[block_day] [char](8) NOT NULL,
    	[web_day] [char](8) NOT NULL,
    	[input_id] [char](20) NOT NULL,
    	[input_day] [datetime] NOT NULL,
    	[reason] [varchar](500) NOT NULL,
    	[num] [nchar](10) NOT NULL,
    	[r_web_day] [char](8) NULL,
    	[r_block_day] [char](8) NULL,
    	[r_input_day] [char](8) NULL,
    	[r_reason] [varchar](500) NULL,
    	[r_input_id] [varchar](30) NULL
    ) ON [PRIMARY]
    
    GO
    
    SET ANSI_PADDING OFF
    GO
    
    ALTER TABLE [dbo].[TBL_LOG_BLOCK_ACCOUNT] ADD  CONSTRAINT [DF_TBL_LOG_BLOCK_ACCOUNT_num]  DEFAULT ((0)) FOR [num]
    GO
    Thank me if it helped? <3
    Last edited by Alexsh; 19-02-10 at 11:55 AM.


  2. #2
    Proficient Member ancelmylove is offline
    MemberRank
    Aug 2008 Join Date
    C:\WindowsLocation
    182Posts

    Re: Tbl_log_block_account

    how to ban character?

  3. #3
    Cyclops-Network Owner Alexsh is offline
    MemberRank
    Sep 2009 Join Date
    New YorkLocation
    306Posts

    Re: Tbl_log_block_account

    A stored procedure in the ACCOUNT_DBF called "usp_BAN_UNBAN"

  4. #4
    Account Upgraded | Title Enabled! ecKo9321 is offline
    MemberRank
    Nov 2009 Join Date
    forum.ragezoneLocation
    491Posts

    Re: Tbl_log_block_account

    gg nab

  5. #5
    Cyclops-Network Owner Alexsh is offline
    MemberRank
    Sep 2009 Join Date
    New YorkLocation
    306Posts

    Re: Tbl_log_block_account

    Quote Originally Posted by ecKo9321 View Post
    gg nab
    You're the nab.
    Quote Originally Posted by Ecko ?? says:;
    when you get bored, you can give me it



Advertisement