Results 1 to 2 of 2

Thread: updating specific rows

  1. #1
    Join Date
    May 2005
    Posts
    15

    updating specific rows

    Hello all,

    When I was creating a database I misassigned some rows and now I just want to change those 4 rows but can't figure out how to do it. I tried using this command
    Code:
     update variables set bl_id=16 where bl_id in (SELECT bl_id from variables where var_id between 379 and 382)
    Any help would be greatly appreciated. Thanks. I'm am using Mysql.
    Last edited by thalegend77; 07-14-2005 at 08:46 AM.

  2. #2
    Join Date
    May 2005
    Posts
    15
    Ummm nevermind I figured it out. I feel so dumb, all I had to use was and.

Posting Permissions

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