how to make query change value?

Results 1 to 3 of 3
  1. #1
    Apprentice kermanz is offline
    MemberRank
    Feb 2011 Join Date
    7Posts

    how to make query change value?

    Pls. help how to make query commands to change or replace specific value ...

    example in rangame1>chainfo>chaface
    I want to change all values of 2 to 1


    Thanks


  2. #2
    Account Upgraded | Title Enabled! nitro+ is offline
    MemberRank
    Dec 2008 Join Date
    United StatesLocation
    1,055Posts

    Re: how to make query change value?

    SQL = "Update ChaInfo Set Chaface = 1 where ChaName ='"&MyCharacterName&"'"
    RanGame1.execute SQL

    Something like that
    Posted via Mobile Device

  3. #3
    Account Upgraded | Title Enabled! denvee is offline
    MemberRank
    Feb 2009 Join Date
    /var/users/Location
    579Posts

    Re: how to make query change value?

    like this too

    USE RANGAME1
    Update [ChaInfo] set [ChaInfo].ChaOnline=0
    Update [UserInven] set [UserInven].UserMoney=5
    Update [ChaInfo] set [ChaInfo].ChaMoney=0

    just a sample



Advertisement