For eg.
If a table has 10 lakh records. If i run the script it will update the 10 lakh records.
Now, if i run the same script again it should not be executed because it was already executed before and also the table should not update since there is no change in the script .
Now, if the script is changed it should execute now....please help


Nilesh ShahRank #42 · 34.2K reputationPosted Aug 9, 2017, 11:22 AM EDT
It seems you can not find solution to your problem because the "problem" itself is incorrect.
Whoever has asked to do something like this either does not know how SQL server operates or even does not know software development fundamentals.
Amit GuptaRank #190 · 12.8K reputationPosted Aug 9, 2017, 11:07 AM EDT
Narendher Babu A57 reputationPosted Aug 9, 2017, 11:13 AM EDT
Gokhul VarmanRank #1,505 · 1.1K reputationPosted Aug 9, 2017, 9:50 AM EDT