Viewing 10 posts - 61 through 70 (of 70 total)
Hi,
I can use something like SQL Compare which has been around for a while, has been thoroughly tested out by thousands of users, and probably does all (or almost all)...
October 22, 2008 at 2:48 pm
Be careful in your reasoning: clearly in some cases you can replace a temporary table with a CTE and boost performance. This is what you are describing and quite well....
January 16, 2008 at 3:24 pm
Also Steve: I think Hugo is absolutely correct.
Cheers,
Alex Kuznetsov,
SQL Server MVP
January 2, 2008 at 6:41 pm
The best practice is to always prefix column names, which prevents such errors.
Cheers,
Alex Kuznetsov,
SQL Server MVP
January 2, 2008 at 5:05 pm
I think it's a horrible idea, should be mush slower than a cursor in most cases, and more sophisticated.
December 4, 2007 at 7:30 am
I prefer to use C++ approach - I define macros in a *.h file and have them replaced by actual definition by the preprocessor. For instance, I used to have...
June 19, 2007 at 2:00 pm
Jacob,
Use UNION ALL instead of UNION unless you explicitly need to remove duplicates - this might perform faster.
May 22, 2007 at 3:00 pm
Be very careful: even with READ COMMITTED isolation level you can get inconsistent results in your reports:
March 23, 2007 at 11:05 am
SQL Server MVP Peter DeBetta has recently wrote on the same problem:
http://sqlblog.com/blogs/peter_debetta/archive/2007/02/12/multiple-valued-parameters.aspx
I think his conclusions are different.
February 23, 2007 at 10:35 am
WHILE and loop might work much slower than a cursor. Look up
sqlserver-tips.blogspot.com/2006/09/when-eliminataing-cursors-hurts.html
January 16, 2007 at 12:06 pm
Viewing 10 posts - 61 through 70 (of 70 total)