The last place I worked the DBA said that using the Begin and Commit transactions when selecting into #temp tables helped speed execution of the proc. Therefore it became a standard to do so.
I presently work for a company that says it does nothing since, which is rightly noted, #temp tables are not logged. So, using the Begin/Commit statements do not add nor take away from the query. Using these statements have become a habit with me. Is there any value in continuing this practice? It is my choice if I wish to.
Thanks in advance.
ps. I am interested in finding more 'tuning' tips. I would appreciate direction to a site or a good book. I work almost exclusively with stored procs, Crystal 8 and Visual Basic.
Bob
I presently work for a company that says it does nothing since, which is rightly noted, #temp tables are not logged. So, using the Begin/Commit statements do not add nor take away from the query. Using these statements have become a habit with me. Is there any value in continuing this practice? It is my choice if I wish to.
Thanks in advance.
ps. I am interested in finding more 'tuning' tips. I would appreciate direction to a site or a good book. I work almost exclusively with stored procs, Crystal 8 and Visual Basic.
Bob