Results 1 to 2 of 2

Thread: Update all records

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    592

    Update all records

    I need to iterate the records somehow and update each record separetly.

    For example i want to decrease each column# ordertotal for 10% while they have different values. One can be $100, another $200, 120, 140$ etc. etc.

    Thanks!

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: Update all records

    Are you looking for a SQL query?

    Update TableName
    Set OrderTotal = OrderTotal * .9

    The above statement will decrease the OrderTotal column of all records in the table by 10%.

Posting Permissions

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



Click Here to Expand Forum to Full Width