Viewing 15 posts - 571 through 585 (of 1,162 total)
OK, so it looks like in 2008 at least, the Spatial Index only supports STDistance in a WHERE clause - if I put an arbitrary maximum radius around each store...
December 9, 2011 at 8:44 am
Hi Grant,
Ok, I've just tried that and no change to the plan or speed. I think changing the densities isn't going to help if it can't produce a plan using...
December 9, 2011 at 8:28 am
Hi Grant,
Thanks, I'll have a read through your blog and see if I can find anything that'll help.
Yes, as with the test harness, I have a spatial index on...
December 9, 2011 at 7:51 am
Varun R (12/8/2011)
December 8, 2011 at 4:47 am
Not sure table partitioning would really be necessary with these volumes, although it's difficult to give any practical advice without more information.
Have a read through this article and provide at...
December 8, 2011 at 4:00 am
Bill Hansen (12/2/2011)
December 2, 2011 at 9:08 am
Unless you're talking about indexed views, then no, they have no measurable effect on resource usage when not being used
December 2, 2011 at 6:58 am
Easy enough, Just use something like this to generate the statements:
--generate disable
SELECT 'exec msdb..sp_update_job @job_name = '''+NAME+''', @enabled = 0' FROM msdb..sysjobs
--generate enable
SELECT 'exec msdb..sp_update_job @job_name = '''+NAME+''', @enabled =...
December 1, 2011 at 8:02 am
The first reply from Gianluca has just such a template...
November 30, 2011 at 9:01 am
Cheers.
What I'm working on is an ERSI shapefile that doesn't contain points for postcodes, but Thiessen polygons, so I can't just do a lookup on point data, I need...
November 30, 2011 at 2:53 am
I'm working on a similar project at the moment and have most of the pieces of the puzzle in that there's a free ERSI shapefile for UK postcode boundaries and...
November 29, 2011 at 10:02 am
Remember to define a polygon, you must have a set of coordinates in order and in the correct ring orientation (e.g. anti-clockwise for this purpose), so you're going to find...
November 29, 2011 at 9:31 am
Sounds reasonable considering you only have 10 disks to play with. If it was me, I'd be asking for a couple more disks for the logs, so you could...
November 28, 2011 at 3:31 am
It's exactly the same:
November 22, 2011 at 5:35 am
From your expected results, DENSE_RANK() seems to be what you want to use (the same as RANK, but the rank number doesn't increment after ties):
SELECT DENSE_RANK() OVER
...
November 10, 2011 at 3:46 am
Viewing 15 posts - 571 through 585 (of 1,162 total)