Viewing 15 posts - 3,226 through 3,240 (of 8,416 total)
See the percent_complete column on sys.dm_exec_requests
It only works with:
Paul
May 29, 2010 at 8:57 am
Gary7512 (5/29/2010)
May 29, 2010 at 8:49 am
lrodriguessp (5/29/2010)
Exactly, I have to use the primary key in the primary partition.
Sorry, but that sentence does not make sense to me. 🙁
If you mean that you have to include...
May 29, 2010 at 8:47 am
With the best will in the world, it's impossible to suggest an appropriate set-based solution without knowing more about what the complex financial calculation does. I realise you had...
May 29, 2010 at 8:36 am
Why don't you have a decent crack at it first?
See how you get on.
May 29, 2010 at 8:21 am
Gary7512 (5/29/2010)
May 29, 2010 at 8:19 am
Perhaps some demo code will make the issues clearer to see:
CREATE PARTITION FUNCTION
PF_Date (DATETIME)
AS ...
May 29, 2010 at 7:41 am
You should certainly consider MERGE (if you are using SQL Server 2008) but you need to be careful with either method if there is concurrent activity on the destination table....
May 29, 2010 at 7:25 am
Known bug, fixed in SQL11, will not be fixed in 2008 or 2005:
Lesson: don't use dynamic cursors!!!
Confused by the link?
See:
http://www.sqlskills.com/BLOGS/PAUL/post/Missing-index-DMVs-bug-that-could-cost-your-sanity.aspx
May 29, 2010 at 6:57 am
Nice (but quite shocking!) question. I'm not at all embarrassed to say I got this one wrong.
May 29, 2010 at 6:53 am
Grant Fritchey (5/28/2010)
I would argue that while all three compile and run, none of them is "correct."
In the same way that 2+2=5 for sufficiently large values of 2? 😛
May 29, 2010 at 6:53 am
Good to know the Y2K problem is still alive and well 😀
May 29, 2010 at 6:45 am
You corrected the bug that ColdCoffee and Kingston missed, but all the solutions presented so far use a form which cannot seek using an index. The best they can...
May 29, 2010 at 6:42 am
Side note:
It's not often worth persisted expressions like this - this optimiser very frequently chooses to recalculate the value from the base columns instead - particularly if the computed value...
May 29, 2010 at 6:30 am
Use an XML format file and OPENROWSET BULK. This allows you to modify the bulk load stream without losing any of the benefits of bulk loading - it will...
May 29, 2010 at 6:23 am
Viewing 15 posts - 3,226 through 3,240 (of 8,416 total)