Posted by Erland Sommarskog on 09/18/06 22:09
dunleav1 (jmd@dunleavyenterprises.com) writes:
> I'm running my test locally so the execution time is the same whether
> nocount is set or not. Thanks.
Did you actually try it?
When I ran your script with SET NOCOUNT in effect from a Perl script it took
14 seconds with an SQL 2005 instance on the same machine. When NOCOUNT was
OFF it took 43 seconds.
In your case I would expect even greater difference, since you appear to
be using Microsoft's slow JDBC driver.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
Navigation:
[Reply to this message]
|