Viewing 15 posts - 18,766 through 18,780 (of 22,214 total)
1) Actually for performance, I'd do this:
IF NOT EXISTS (SELECT * FROM Users WHERE UserID = @UserId)
BEGIN
If you need to use the parameter value @Name later, then the first choice...
January 13, 2009 at 6:50 am
You guys are describing how to save the trace definition, not the template. Is that what you need Brandie?
January 13, 2009 at 6:44 am
I don't know the precise mechanisms (you'll need to ask Microsoft) that the DTA uses, but I know that it relies on the statistics on the indexes and tables and...
January 13, 2009 at 6:42 am
Jeff Moden (1/13/2009)
January 13, 2009 at 6:37 am
If you're not using SSIS, you might want to look into it.
January 13, 2009 at 6:34 am
I've used VS2008 TSDBE in a team environment with the database objects all in source countrol in TFS. It works really well, especially the new GDR version that works with...
January 13, 2009 at 6:32 am
Functionally, I don't see any major difference between the two. Seriously. However, since we're dealing with human beings, I agree with you. Never over-write an existing back-up, using a single...
January 13, 2009 at 5:58 am
Jack Corbett (1/12/2009)
Sergiy (5/28/2007)
If you don't specify the version that means it must work on EVERY version, not only the one you know.
Of course these means that CTE's are out...
January 13, 2009 at 5:41 am
Can post the whole execution plan? Save it as .sqlplan file and zip it up.
On a guess, it's performing an aggregation to satisfy the criteria. It might be accessing the...
January 12, 2009 at 1:15 pm
rons (1/12/2009)
1) What is the "logical device" and how is that usually expressed? Same question for the physical device location?
...
January 12, 2009 at 9:28 am
gary (1/12/2009)
Im on SQL Server 2000 and i read CTEs are not supported?
From what ive read also, my first example...
January 12, 2009 at 9:20 am
Beating accepted. 😀
I just remember seeing the solution in his book. It's not something I played with a lot myself, mainly because I long stopped worrying about gaps in an...
January 11, 2009 at 9:53 am
Yeah, but "reflect in another block"?
January 9, 2009 at 1:32 pm
Jack Corbett (1/9/2009)
Grant Fritchey (1/9/2009)
Jack Corbett (1/9/2009)Hey, that's why I've spent the last 2+ months in NH.
Because my wife told you too?
Every married man has a "She who must be...
January 9, 2009 at 11:29 am
Viewing 15 posts - 18,766 through 18,780 (of 22,214 total)