Viewing 15 posts - 11,866 through 11,880 (of 14,953 total)
The difference is that a CTE can be used multiple times, and can be used in later CTEs in the same query, while a sub-query (derived table) can't do either...
October 2, 2008 at 11:21 am
I've never seen that not work.
When you open the jobs up in Management Studio and go to Notifications, does it still say "On Completion" or does it say "On Failure"?
October 2, 2008 at 11:16 am
You can set the connecting string for a database connection as a variable by setting in an expression.
October 2, 2008 at 7:47 am
I build my own tool for this purpose.
I have a database called DBA that has tools in it for DBAs. One of the tools has these objects:
USE [DBA]
GO
CREATE TABLE...
October 2, 2008 at 7:19 am
If it's less than 100 rows, use a table variable. If it's more, use a temp table. That's the simple version.
Really, it's not quite that simple, and the...
October 1, 2008 at 1:27 pm
Keep in mind that tracking the last time something was updated is only good for knowing if the row has been refreshed recently. It doesn't tell you how often...
October 1, 2008 at 12:44 pm
I once saw a performance improvement with and OLTP database on RAID-5 when the files were split in two and some of the most commonly used indexes were moved into...
October 1, 2008 at 12:40 pm
I'm curious, I must admit, about the connection between the title and the actual post. What do missing records have to do with performance tuning? Same for non-responsive...
October 1, 2008 at 9:28 am
All possible steps for a database being down?
I don't have time enough left in this lifetime to write all of those.
1. Does the server still exist (fire, tornado, flood destruction)?
2....
October 1, 2008 at 9:27 am
I think I must be missing the point. Why would you run something for a weekly notification, but run it every hour?
There is probably a good reason to do...
October 1, 2008 at 9:22 am
I looked at the code on the other site, and there isn't enough there to do a real work-over on it, but there are a few things that stand out.
First,...
October 1, 2008 at 7:22 am
Jeff Moden (9/30/2008)
October 1, 2008 at 7:12 am
Generally speaking, UDFs work just about the same in 2005 as they did in 2000. I have several that I didn't change a line of code in, and they...
September 30, 2008 at 1:27 pm
Viewing 15 posts - 11,866 through 11,880 (of 14,953 total)