Viewing 15 posts - 46 through 60 (of 76 total)
Chris,
OK. I have to give a bit more info while trying to keep the complexity from exploding. Essentially, what I'm looking for can be expressed against ColdCase's DDL with...
DECLARE @Quantity_Limit...
June 19, 2012 at 12:55 pm
So, I tried adding a Constant, but no tuples are returned...
IF OBJECT_ID('TempDB..#Temp') IS NOT NULL
DROP TABLE #Temp;
CREATE TABLE #Temp
(
iD ...
June 19, 2012 at 12:07 pm
CC - the problem is that they don't have a common ID to group on, which is why I was struggling with the HAVING clause. I've considered adding a 'constant'...
June 19, 2012 at 11:55 am
>>Are you looking for ANY combination of Items where the quantity = 10 (or whatever number), or per-item?
Any combination of Items.
>>Also, would you consider it valid, if looking for...
June 19, 2012 at 11:48 am
So, in debugging a report to find a needle in a haystack last week, I was reminded of this topic/thread. One of the LOB apps our PUD uses tracks Utility...
April 1, 2010 at 11:32 am
Jack Corbett (3/24/2010)
Les Cardwell (3/24/2010)
If you are doing a platform agnostic cert then Celko would work, but for a SQL Server specific cert, then he might not be the best...
March 24, 2010 at 11:19 am
Steve Jones - Editor (3/24/2010)
I'd like to see this start going, though I think we need a forum, and a long debate on the PASS site. We probably also need...
March 24, 2010 at 10:24 am
I got tired of the Certification merry-go-round back in the early 2000's (which can become insane and a significant $ drain) and decided in stead to spend my $ on...
March 23, 2010 at 10:55 am
Thx Lynn... good to know. Still, alligators and all that... :unsure:
March 15, 2010 at 1:24 pm
Actually, this:
WHERE P_MS.DateReceived > getdate() - 365
can use an index on DateReceived. The function call is on the right of the conditional and will only be calculated...
March 15, 2010 at 12:17 pm
Also, this:
DECLARE @selectDate = getdate()-365
won't work. In SQL Server 2008 it needs to be like this:
DECLARE @selectDate datetime = getdate()-365
For what it's worth, it doesn't work in 2005 either.
Cannot...
March 15, 2010 at 12:10 pm
In spite of the criticism, it was still a simple example of minimal denormalization to achieve an end result rather than a full-on explosion of wide rows to reduce the...
March 15, 2010 at 11:01 am
roger.plowman (3/3/2010)
David and Len (Les actually :cool:) seem to be from a mathematics background. From that perspective their points about the relational model are entirely valid.
Well, initially music on my...
March 3, 2010 at 9:32 am
RalphWilson (3/2/2010)
March 2, 2010 at 12:48 pm
RalphWilson (3/2/2010)
Excuse me but what DBMS allows you to create a P that is NO unique and why are you using it?
In most DBS's that I have used, a PK,...
March 2, 2010 at 12:14 pm
Viewing 15 posts - 46 through 60 (of 76 total)