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 ShahPosted Aug 9, 2017, 3:22 PM
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.
Narendher Babu APosted Aug 9, 2017, 3:13 PM
Amit GuptaPosted Aug 9, 2017, 3:07 PM
Gokhul VarmanPosted Aug 9, 2017, 1:50 PM