sql - Do I really need to use transactions in stored procedures? [MSSQL 2005] -
i'm writing pretty straightforward e-commerce app
in asp.net, need use transactions in stored procedures?
read/write ratio 9:1
many people ask - need transactions? why need them? when use them?
the answer simple: use them time, unless have reason not (for instance, don't use atomic transactions "long running activities" between businesses). default should yes. in doubt? - use transactions.
why transactions beneficial? deal crashes, failures, data consistency, error handling, write simpler code etc. , list of benefits continue grow time.
here more info http://blogs.msdn.com/florinlazar/
Comments
Post a Comment