How to Get Old Value

  • How Can I get old value From a column before I inserted..?

  • do you mean before you update?

    If you are inserting then there is no old value.

    Select the data out before you do the update. Once you have updated it, it's gone, unless you have archive/audit tables in place.


    Regards,

    Steve

    Life without beer is no life at all

    All beer is good, some beers are just better than others

  • Using trigger you can catch it in table deleted.

    _____________
    Code for TallyGenerator

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

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