Re: execution plan for a SP with transaction differs from one without transaction
- From: "sux_stellino" <sux.stellino@xxxxxxxxx>
- Date: 28 Dec 2006 04:53:34 -0800
Hi.. i'm trying with a simple stored procedure that bulk inserts in a
temp table and that write into another table from the temp one..
the execution plan is the same.. (except begin and rollback tran, that
indicate new plan rows..)
Try to post sp code, plz.. maybe we can see if there's a particular
case..
Nedo wrote:
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:
- References:
- Prev by Date: execution plan for a SP with transaction differs from one without transaction
- Next by Date: Re: execution plan for a SP with transaction differs from one without transaction
- Previous by thread: execution plan for a SP with transaction differs from one without transaction
- Next by thread: Re: execution plan for a SP with transaction differs from one without transaction
- Index(es):
Relevant Pages
|