get previous values based on seperate db/table

  • I am pulling down out of range values from a single table on one database to a different table on a different database on a different server (one i have full access to). Basically, it looks something like this:

    id1 value1 prev_value1 value2 prev_value2 date prev_date

    id2 value1 prev_value1 value2 prev_value2 date prev_date

    id3 value1 prev_value1 value2 prev_value2 date prev_date

    all the "prev"'s are null. I want to do one do one query that will get me the previous values and dates for each id from the original database. I am at a loss on the most efficient way to do this and just how to do this. Any help or recommendations would be GREATLY appreciated.

Viewing 0 posts

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