1> create table t1 (c1 int, c2 int)
2> go
1> insert t1 select id, id from sysobjects
2> go
(32 rows affected)
1> create procedure p as select c1 from t1
2> go
1> dump tran test with truncate_only
2> go
1> select count(*) from syslogs
2> go
-----------
20
(1 row affected)
1> alter table t1 drop c2
2> go
(32 rows affected)
1> select count(*) from syslogs
2> go
-----------
79
(1 row affected)
1> execute p
2> go
c1
-----------
1
2
[snip]
752002679
(32 rows affected)
(return status = 0)
1> select count(*) from syslogs
2> go
-----------
110 <---- execution of p grew the log by 41 records due to rewriting the query tree
(1 row affected)