database - Describe transactions and explain the main principles -
could me answer question:
describe transactions , explain main principles.
i think link might helpful http://www.tutorialspoint.com/sqlite/sqlite_transactions.htm
there many reasons them. among other reasons, transactions protect integrity of database data allowing decide @ end of session whether want commit changes or revert state database before started making changes. cases want revert might cases error occurs in program while.
for example, if building program bank handles money transfers, make query update balance in customer's first account minus transfer amount. however, if run error when attempting update second account, nice abandon changes made , return both tables original state.
i hope link helps.
Comments
Post a Comment