Hello seniors,
I have two buttons. On the click of first button i update some rows in sql server table.
but my operation will complete after click on second button.
suppose after clicking on first button my server will close enexpectedly or someone close server directly.
Is there any option availiable in sql server to rollback my last update query if the server is down enexpectedly.
Please give suggestion.
Loading


Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:02 AM EDT
It will be not possible to rollback except restore the database.
Regards,
Iftikar
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:07 AM EDT
my my operation would complete after clicking on second button.
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:08 AM EDT
Regards,
Iftikar
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:24 AM EDT
but suppose after click on add my server close unexpectedly. now my reserve stock would not show in other picklist generation .
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:24 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:29 AM EDT
if I add the item today and don't click on save button and come back tomorrow and click on save button.
Regards,
Iftikar
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:34 AM EDT
If i click add statustemp would P. on close or cancel statustemp would again NULL.
Means i reserve temprorely my stock on add and release on close or cancel.
And i reserve permanently after save.
Now clear???
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:36 AM EDT
Regards,
Iftikar
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:39 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:42 AM EDT
Regards,
Iftikar
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:44 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:47 AM EDT
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 2:53 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 2:56 AM EDT
Ravi ShekharRank #673 · 3.6K reputationPosted Aug 28, 2013, 3:17 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 3:52 AM EDT
Regards,
Iftikar