SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2007
    Posts
    318
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Updaing within a range

    Hi all,
    Basically I need to update the db having a range as below, will this query work or is there any other way?

    Update number SET SID = 'LYK' where Number between '32223%' and '33444%'
    http://kkonline.org - Inspiring Life...

  2. #2
    From Italy with love silver trophybronze trophy
    guido2004's Avatar
    Join Date
    Sep 2004
    Posts
    9,506
    Mentioned
    163 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by krishnakhanna View Post
    will this query work?
    Did you try?

  3. #3
    SitePoint Addict
    Join Date
    Aug 2007
    Posts
    318
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After executing Update temp4acajoom SET confirmed = '1' where user_id between '1%' and '20%'
    I get the desired response so solved!!!!
    http://kkonline.org - Inspiring Life...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •