execution plan for a SP with transaction differs from one without transaction
- From: "Nedo" <nedim.halilovic@xxxxxxxxx>
- Date: 27 Dec 2006 09:03:52 -0800
hi
i have this sql statement:
USE myDB
--begin tran t1
exec mySP 'parameters'
--rollback tran t1
(info: i want to rollback the transaction because i just want to test
the SP and see the execution plan)
the execution plan with the two transaction lines commented differs
completely from the execution plan if i uncomment the two lines
(info about the SP: it is creating a temporary table, doing a bulk
insert into it, and then doing an insert in a normal table from the
temporary table - simplified said)
i dont understand why the transactioning is affecting the execution
plan so extremly
thanks
regards
nedo
.
- Follow-Ups:
- Prev by Date: SQL LiteSpeed
- Next by Date: Re: execution plan for a SP with transaction differs from one without transaction
- Previous by thread: SQL LiteSpeed
- Next by thread: Re: execution plan for a SP with transaction differs from one without transaction
- Index(es):
Relevant Pages
|
Loading