Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Is there way to get last updated column name/id in sql server ?

$
0
0

This is table

CREATE TABLE test(
    id char(5) NOT NULL,name nchar(20) NULL, Mphone int NULL,Tel int NULL );

insert into test values('e001','david',5456789,5456422);

    update test set MPhone =012345
    where id='e001';

      i want to get result as updated column Mphone or value 012345



      Viewing all articles
      Browse latest Browse all 23857

      Trending Articles



      <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>