SQL Code: Search who has EXC Full Opts

Page 2 of 2 FirstFirst 12
Results 26 to 31 of 31
  1. #26
    Member Elzard is offline
    MemberRank
    Dec 2008 Join Date
    United KingdomLocation
    59Posts

    Re: [Release] SQL Code: Search who has EXC Full Opts

    Thanks, very useful. :)

  2. #27
    Apprentice xavi321 is offline
    MemberRank
    Dec 2008 Join Date
    22Posts

    Re: SQL Code: Search who has EXC Full Opts

    hex codes out wherehause
    PHP Code:
    declare @items varbinary(1920), 
    @
    accountid varchar(10); 
     
    set @accountid='xavi'
                                 use 
    MuOnline
    set @items = (SELECT Items FROM warehouse WHERE AccountId = @accountid); 
    print @
    items

    hex codes out inventory
    PHP Code:
    declare @items varbinary(1728), 
    @
    character varchar(10); 
     
    set @character='Xavi'
     
                                 use 
    MuOnline
    set @items = (SELECT Inventory FROM Character WHERE Name = @character); 
    print @
    items
    Last edited by xavi321; 08-01-10 at 04:53 AM.

  3. #28
    Apprentice iGotYerGf is offline
    MemberRank
    Apr 2010 Join Date
    14Posts

    Re: SQL Code: Search who has EXC Full Opts

    asdasdasd

  4. #29
    Apprentice xavi321 is offline
    MemberRank
    Dec 2008 Join Date
    22Posts

    Re: SQL Code: Search who has EXC Full Opts

    any query to select the Serial of the items?
    regards!

  5. #30
    Apprentice Aquiles88 is offline
    MemberRank
    Dec 2006 Join Date
    14Posts

    Re: SQL Code: Search who has EXC Full Opts

    I want to understand exactly what it means:
    where (charindex (0xbf, inventory) %10=8) or (charindex (0xff, inventory) %10=8) or (charindex (0x7f, inventory) %10=8) or (charindex (0x3f, inventory) %10=8)...

    I want to learn how it works and make my own query.
    Thank's in advance.

  6. #31
    Apprentice milaiko is offline
    MemberRank
    Dec 2012 Join Date
    22Posts

    Re: SQL Code: Search who has EXC Full Opts

    With this code, can we count how many items is exc full option per account?

    Code:
    select * from warehouse where (charindex (0xbf, items) %10=8) or (charindex (0xff, items) %10=8) or (charindex (0x7f, items) %10=8) or (charindex (0x3f, items) %10=8)
    select * from character where (charindex (0xbf, inventory) %10=8) or (charindex (0xff, inventory) %10=8) or (charindex (0x7f, inventory) %10=8) or (charindex (0x3f, inventory) %10=8)



Page 2 of 2 FirstFirst 12

Advertisement