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 HussainPosted Aug 28, 2013, 7:52 AM
Regards,
Iftikar
Ravi ShekharPosted Aug 28, 2013, 7:17 AM
Iftikar HussainPosted Aug 28, 2013, 6:56 AM
Ravi ShekharPosted Aug 28, 2013, 6:53 AM
Iftikar HussainPosted Aug 28, 2013, 6:47 AM
Ravi ShekharPosted Aug 28, 2013, 6:44 AM
Iftikar HussainPosted Aug 28, 2013, 6:42 AM
Regards,
Iftikar
Ravi ShekharPosted Aug 28, 2013, 6:39 AM
Iftikar HussainPosted Aug 28, 2013, 6:36 AM
Regards,
Iftikar
Ravi ShekharPosted Aug 28, 2013, 6:34 AM
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 HussainPosted Aug 28, 2013, 6:29 AM
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 ShekharPosted Aug 28, 2013, 6:24 AM
Ravi ShekharPosted Aug 28, 2013, 6:24 AM
but suppose after click on add my server close unexpectedly. now my reserve stock would not show in other picklist generation .
Iftikar HussainPosted Aug 28, 2013, 6:08 AM
Regards,
Iftikar
Ravi ShekharPosted Aug 28, 2013, 6:07 AM
my my operation would complete after clicking on second button.
Iftikar HussainPosted Aug 28, 2013, 6:02 AM
It will be not possible to rollback except restore the database.
Regards,
Iftikar