replace values of rows and update with preset value

  • I need an sql Update command that will arrange row to be serially arrange from a value I am specifying (13108 to X) the end of the last row(where x is the last value .

    Can any one help please?

    the rows already have value from 1 to 1500, so I need to update the value to be from 13108 to the last value.

    The table name is called scoretable while the row the value is called sore_id.

  • I'm unable to understand your needs, please specify:

    1) DDL for the tables involved

    2) Sample data

    3) What you have coded so far

    Read this article for more info on how effectively post your questions:

    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Regards

    Gianluca

    -- Gianluca Sartori

  • UPDATE ScoreTable

    SET sore_id = sore_id + 13107

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply