• In short: you can use INSERT with OUTPUT clause.

    But, if you could specify which table you are going to load your data from, that would allow to advice you in more detailed way.

    We will need your tables DDL. The link at the bottom of my signature leads to article explaining how to post one.

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]