Need little help qith SQL query

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Pics Traffic
    Confirmed User
    • Jun 2004
    • 3055

    #1

    Need little help qith SQL query

    I need to update few rows of data but only for range of entries with ID's between 40 and 100.
    so
    update table set field='blah-blah' where id ---- ???
    My Network Is Waiting For Your Fuckin' Trade!
  • nnweb
    Confirmed User
    • Apr 2004
    • 724

    #2
    update table set field='blah blah' where id >= 40 and id <=100

    Comment

    • polle54
      Confirmed User
      • Jul 2004
      • 4626

      #3
      Originally posted by nnweb
      update table set field='blah blah' where id >= 40 and id <=100
      correct.
      ICQ# 143561781

      Comment

      • Pics Traffic
        Confirmed User
        • Jun 2004
        • 3055

        #4
        I kiss you.
        Thanks
        My Network Is Waiting For Your Fuckin' Trade!

        Comment

        • rowan
          Too lazy to set a custom title
          • Mar 2002
          • 17393

          #5
          Try also

          UPDATE table SET field='blah blah' WHERE id BETWEEN 40 AND 100
          Last edited by rowan; 08-14-2008, 01:53 PM.

          Comment

          Working...