Viewing 15 posts - 57,586 through 57,600 (of 59,048 total)
The end result of the query I wrote doesn't give totals by day... it simply generates an internal record for each day so it can sum them by month (that's what...
September 19, 2006 at 5:58 pm
Not sure that's true... what you say will certainly guarantee that all the pages of the table are loaded into memory at startup... but even a simple SELECT * from...
September 18, 2006 at 10:48 pm
Good grief... I had no idea you had that many rows
... I should'a asked. ![]()
The query generates...
September 18, 2006 at 10:40 pm
Brian, I think all you need to do to Serqiy's solution is change the "<" to "<="... haven't tried it, though...
September 18, 2006 at 10:29 pm
Joe,
I tend to lean towards Remi's solution simply because it has no loop although I believe the loop would be just as fast in this case (probably only until the...
September 18, 2006 at 10:21 pm
Gopi,
Try passing this into your version....
SET @STR= '1,.,,$,2d01,6,7,8,9,10,0'
ISNUMERIC isn't valid as an IS ALL DIGITS function. You must use NOT LIKE '%[^0-9]%' instead...
September 18, 2006 at 9:45 pm
If the "#" is supposed to represent a digit, what happens if you introduce a letter or a space?
And, if you...
September 18, 2006 at 9:13 pm
Yes... where is the C:\Person_Notes directory... on the server or on your desktop?
September 18, 2006 at 6:10 pm
Lee,
Just curious... Everyone keeps telling you that cursors are not the way to go... why do you insist on using them?
September 18, 2006 at 5:49 pm
Mita,
If you take a look... it is working correctly... you have multiple entries for some of the FMIS codes... notice in the sample data that you have the following inputs...
September 18, 2006 at 5:45 pm
This should do it... if you don't already have a TALLY table, here's how to make one...
--===== Create and populate the Tally table on the fly
SELECT TOP 11000...
September 18, 2006 at 12:12 am
Do you need ISO weeks by any chance?
September 17, 2006 at 10:17 pm
Viewing 15 posts - 57,586 through 57,600 (of 59,048 total)