I have a two query set I run.
Truncate table
Inser into the truncated table 22M rows.
The message tab tell me for the truncate command
Execution Time : 0.092 sec
Transfer Time : 0 sec
Total Time : 0.093 sec
For the insert it says:
Execution Time : 16 min 41 sec
Transfer Time : 0.001 sec
Total Time :16 min 41 sec
However in the line at the bottom it says Exec: 1 hr 28 min Total: 1 hr 28 min.
It actually did take the 1 hr and 28 min before the cursor stopped spining and I got control back.
Can anyone tell me what is going on and how to correct.
I am running on a local instance on my laptop.
Thanks.
Dave