Viewing 15 posts - 871 through 885 (of 7,636 total)
mbender (2/21/2010)
Yes we would need to assign a pkey, it would not be PartNumber or location because those are not always unique.
We can go with PartNumber + Location as Paul...
February 22, 2010 at 1:22 am
Paul White (2/21/2010)
How would reversing the statements work? An INSERT might throw an exception if a key value already exists. Wrapping it in TRY...CATCH would work, but you...
February 22, 2010 at 1:15 am
And now, having said all this and gone all this way, I notice something that could make it all irrelevant. *sigh*
Sander: you said that the slower query...
February 22, 2010 at 12:51 am
Paul White (2/21/2010)
RBarryYoung (2/21/2010)
Paul White (2/21/2010)
Personally, I doubt the query is disk-bound; it is more likely that the rewrite introduced a spool of some kind, or is using a kind...
February 22, 2010 at 12:20 am
Paul White (2/21/2010)
I'm not sure about that equation!
It's right. Trust me, I've been doing this for a looong time across many different environments and OSs, 20 years at least....
February 21, 2010 at 11:12 pm
justpiyushmittal-1127780 (2/19/2010)
February 21, 2010 at 9:34 pm
vaibhav.tiwari (2/20/2010)
I want to get the best example of group by with cube rollupto understand as i m very confused between two ot them
What do you mean by "best"? ...
February 21, 2010 at 9:11 pm
lmu92 (2/20/2010)
Paul White (2/20/2010)
I often hear the objection about not wanting to use CLR just for one thing 🙁
The trouble is, until you add one, the next one will always...
February 21, 2010 at 9:08 pm
You just have you brackets a little bit off:
CREATE TRIGGER [dbo].[trg_manageTrailerInventoryHistory] ON [dbo].[TrailerInventory]
AFTER INSERT, UPDATE
AS
BEGIN
-- SET NOCOUNT...
February 21, 2010 at 8:18 pm
Honestly I don't see this as a problem.
So we answer many of the same questions all the time, so what? Learning what these most common questions are...
February 21, 2010 at 7:58 pm
CirquedeSQLeil (2/21/2010)
The difficult thing is ensuring that people read it. Just like a Terms & Conditions Agreement...
February 21, 2010 at 5:09 pm
This isn't the article I was thinking of, but it does have some perspective and approach for this: http://sqlblog.com/blogs/merrill_aldrich/archive/2009/10/29/using-historical-perf-counters-for-storage-planning.aspx
February 21, 2010 at 5:03 pm
also, what kind of organization is this for? Business, academic, non-profit, Govt, NGO, ... ?
February 21, 2010 at 4:13 pm
FYI: this is actually called "Storage Planning", as "capacity planning" has a very specific and completely different meaning for computer systems.
I do remember seeing some good storage planning articles a...
February 21, 2010 at 4:11 pm
You might also want to check you tempdb and the Disk that it is on. One thing that might cause this is if it tried to expand tempdb, but...
February 21, 2010 at 4:06 pm
Viewing 15 posts - 871 through 885 (of 7,636 total)