Viewing 15 posts - 47,881 through 47,895 (of 59,064 total)
You may also want to try using multiple Selects separated by UNION ALL.
October 6, 2008 at 9:15 pm
Oh... I almost forgot... I ran Phil's tests without modifying his code. I was so engaged in why he was getting his "reverse" findings, that I actually forgot to...
October 6, 2008 at 9:12 pm
Thought I'd give a little feedback here... Phil reran his tests on his machine several times... same result... the While loop on a super string beat the tar out of...
October 6, 2008 at 9:10 pm
chileu17 (10/6/2008)
non-clustered indexes are supposed to be inserted in a specific order right? :ermm: please correct me if I am...
October 6, 2008 at 8:57 pm
zypsy (10/6/2008)
Based on some criteria, I have reduced the number of orders in the datasetfrom about 42000 to about 6000.
Then, methinks that something is drastically wrong... you just said (and...
October 6, 2008 at 8:52 pm
T-SQL isn't just "Declares"... it also includes all those really handy date functions. 🙂 And, yes... everything is possible...
SELECT CONVERT(CHAR(8),d1.StartDate,1) + ' thru ' + CONVERT(CHAR(8),d1.EndDate,1) ...
October 6, 2008 at 8:37 pm
J (10/6/2008)
Still, the thought process of whoever came up with this one remain baffling. Same as for the guy who figured out that nitroglycerin, an unstable explosive,...
October 6, 2008 at 6:53 pm
bobhovious (10/6/2008)
You never answered the...
October 6, 2008 at 6:46 pm
bobhovious (10/6/2008)
Dangit... every time I see a Moden-comment I get befuzzled.
Is that good or bad? 🙂
October 6, 2008 at 4:03 pm
Very well done, Matt. 🙂
J... your "agressive curiosity" is what I call "intellectual curiosity". I believe you won't find yourself alone in that area.
I've not been able to keep...
October 6, 2008 at 3:51 pm
Zypsy absolutely wants to use a spreadsheet because of some functionality that's easily available there. Although I normally oppose denormalized pivots for processing, Zypsy may be correct here and...
October 6, 2008 at 5:30 am
This forum is a bit odd... it sometimes turns left parenthesis into smiley faces. There was one in the test code generator. I've repaired that. Also, to...
October 6, 2008 at 5:22 am
Ok... got it. Since you didn't post the data in an easy to consume format and I just can't bring myself to post untested code, you'll have to put...
October 5, 2008 at 11:31 pm
That's better, but guess what this code means?
SELECT BillDaten, CustCode, COUNT(*) AS ThingsThatNeedPivoting
FROM Sample_Data
GROUP BY BillDaten, CustCode
HAVING COUNT(*) > 1
BillDaten ...
October 5, 2008 at 10:37 pm
clint_pow (10/5/2008)
Note :The input date range may vary!
Will those ranges always be for whole months that start on the first of a month and end on the last of the...
October 5, 2008 at 10:16 pm
Viewing 15 posts - 47,881 through 47,895 (of 59,064 total)