Viewing 15 posts - 2,026 through 2,040 (of 6,486 total)
Jeff Moden (1/17/2009)
Grant Fritchey (1/17/2009)
Ninja's_RGR'us (1/17/2009)
Since when reading the full question a requirement of posting an...
January 17, 2009 at 3:38 pm
If you were a marketing person for CDW - knowing what the top five selling products are within each sales department would be something important. The last x times...
January 16, 2009 at 2:29 pm
I know this might not be the gearhead way to do this, but the Schema history report does the accessing of the default trace for you. Just simply right-click...
January 16, 2009 at 8:29 am
Ramesh (1/16/2009)
The only obvious reason I am thinking of is that the optimizer has to do a "Scalar Operation" on RANK() & ROW_NUMBER() whereas "Aggreagate Operation" on MIN() function....
Agreed -...
January 16, 2009 at 7:54 am
RBarryYoung (1/15/2009)
Ramesh (1/15/2009)
Here is that query
SELECT *
FROM (
...
January 15, 2009 at 12:06 pm
Jack Corbett (1/15/2009)
The APPLY operator is designed for use against table valued functions while JOIN is for tables. They are not interchangeable.
not SUPPOSED to be interchangeable.
Not to niggle excessively,...
January 15, 2009 at 11:38 am
Just be careful of the possible perf pitfall with the windowed Aggregate function. Keep in mind that that will get evaled for EACH ROW in the rowset (which is...
January 15, 2009 at 10:05 am
Steve Jones - Editor (1/15/2009)
http://en.wikipedia.org/wiki/Katana
Got to play with sticks last night, Filipino style last...
January 15, 2009 at 9:54 am
Lowell (1/14/2009)
does the results have to come from a SELECT statement in order to be deterministic?
I'd assume that an...
January 15, 2009 at 8:48 am
rules of thumb:
- unless you mark a user defined function as SCHEMABINDING (to signify that it is deterministic), the function will essentially be run once per line.
- the...
January 14, 2009 at 7:39 pm
It has to make a decision once and for all what data type each column is going to be. In order to do that - it has to look...
January 14, 2009 at 3:09 pm
If you assigned a "default" customer ID other than NULL, you could then enforce a unique constraint (to prevent duplicate customer+cat entries)
As for me - I'd look at:
;With CatInnerCTE as
(select...
January 14, 2009 at 2:58 pm
how about
update mytable
set myfield = replace(myfield, '"','')
January 14, 2009 at 2:47 pm
You need to make all of the values being returned the same type. In your case - two of them at CHAR, one is INT. Because of that...
January 14, 2009 at 2:30 pm
Viewing 15 posts - 2,026 through 2,040 (of 6,486 total)