Viewing 15 posts - 6,016 through 6,030 (of 8,416 total)
The reference to 'branches' in the original question made me think of a retail environment.
Some years ago, I worked on a system with a similar configuration - based on NSB's...
February 20, 2010 at 10:46 pm
Ghanta (2/20/2010)
February 20, 2010 at 10:37 pm
handkot (2/20/2010)
SELECT TOP (1) WITH TIESadd to code of Paul WhiteBecause can be more than one record
I doubt you'd want more than one record returned in this scenario...
February 20, 2010 at 10:24 pm
Matt's right: there isn't a cardinality guarantee. APPLY invokes a table-valued-function (TVF) for each row returned by the outer table expression. A TVF can have many rows of...
February 20, 2010 at 7:03 pm
Chris,
Parameterization is not the only reason for multiple cached plans, though it would be interesting to know whether the statement in question is submitted ad-hoc or as part of a...
February 20, 2010 at 8:20 am
Cool. I can't imagine there will be any sort of problem, so long as the package still has the Certificate of Authenticity attached. 😉
Paul
February 20, 2010 at 8:11 am
Lynn Pettis (2/20/2010)
February 20, 2010 at 8:10 am
WayneS (2/20/2010)
...you also wouldn't be able to use the CROSS APPLY from Paul's post (which I see he has already provided a totally awesome solution that considers this).
Fixed that for...
February 20, 2010 at 8:04 am
To expand on my previously reply slightly...
USE tempdb;
GO
IF OBJECT_ID(N'dbo.PreAggregatedSampleData', N'V') IS NOT NULL DROP VIEW dbo.PreAggregatedSampleData;
IF OBJECT_ID(N'dbo.SampleData', N'U') IS NOT NULL DROP TABLE dbo.SampleData;
GO
CREATE TABLE dbo.SampleData
...
February 20, 2010 at 7:59 am
Using GROUP BY with ROLLUP, CUBE, and GROUPING SETS (Books Online)
Grouping Sets In SQL Server 2008 (Craig Freedman's Blog)
Those were my first two matches using Google Search.
Paul
February 20, 2010 at 7:09 am
The Product Key is on a bright orange sticker on the reverse of the plastic bit that holds the DVD.
I don't think you could miss it really, so have a...
February 20, 2010 at 7:03 am
I see no reason why you shouldn't do this, though you should certainly test it for yourself 😀
I wonder why the currently installed SQL Servers are 2000 Standard - I...
February 20, 2010 at 7:00 am
That is a link to a Microsoft White Paper by Paul Randal.
This is a clickable link to it: FILESTREAM Storage In SQL Server 2008
@gt: you can use the [...
February 20, 2010 at 6:55 am
joshhhhhh (2/20/2010)
I that case I should also focus that I mentioned "Check if defrag is required"
Josh/V,
I really don't see how that is relevant. 😛
Paul
February 20, 2010 at 6:48 am
Viewing 15 posts - 6,016 through 6,030 (of 8,416 total)