Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2011-10-21 : 06:12:46
|
| I am running a query as below:begin transactioninsert into devTable select * from ProdtableHow can I find out how far this has gone into the insert?I run sp_spaceused devTable but the row number seems to reduce each time I run this query.Thanks |
|
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
Posted - 2011-10-21 : 06:17:16
|
| select count(*) from devTable (nolock)You can also check the diskio from master..sysprocesses.==========================================Cursors are useful if you don't know sql.SSIS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2011-10-21 : 07:24:07
|
| Thanks |
 |
|
|
|
|
|