Viewing 15 posts - 55,381 through 55,395 (of 59,078 total)
With the PARSENAME function, there's no need even for that. PARSENAME (see Books Online) was developed almost soley for the purpose of interogating IP Addresses provided that the dots are...
August 13, 2007 at 9:04 pm
Since I can't even spell "Matrix Control", I kinda figured someone else would take a shot at it
I'm definitely NOT a GUI...
August 13, 2007 at 7:01 pm
Heh... just seeing if you're awake, David ![]()
Ah... old habits are hard to break ![]()
August 13, 2007 at 6:50 pm
No explanation except for maybe parallelism, different stats, different number of processors, different section of harddisk, different memory, etc, etc.
It's just not a good idea to update a view...
August 13, 2007 at 6:42 pm
| My boss already rewrote the query to pull one day at a time and it runs in under... |
August 13, 2007 at 6:37 pm
I know, I know... and even though he was way out of line, you felt you had to follow suit...
and go one better. Just wanted...
August 13, 2007 at 6:27 pm
What do you get when you run the following?
SELECT '|'+IP+'|', 'A' AS Ind FROM MyTable WHERE IP = '1821682521'
UNION ALL
SELECT '|'+IP+'|', 'B' AS Ind FROM MyTable2 WHERE IP = '1821682521'
Also, why did...
August 13, 2007 at 6:15 pm
Not surprised... just thought REPLACE would be closer. ![]()
August 13, 2007 at 5:06 pm
Where's the performance hit taking place? On SELECT's???
August 13, 2007 at 5:04 pm
Just remember there, "new poster".... no one called you a "Douche Bag" or "Jive Turkey"... you did. Suggest you make a little bit of a change, yourself.... even in the...
August 13, 2007 at 11:54 am
It's not just cursors... single row process loops are the real culprit. Cursors inherently are single row and they use loops. The real rule is that RBAR (pronounced "ree-bar" and...
August 13, 2007 at 11:10 am
And, here's a simple script for calculating the number of Weekdays between two given dates. Does not include exclusions for holidays... you would need a holiday table for that.
http://www.sqlservercentral.com/columnists/jmoden/calculatingworkdays.asp
August 13, 2007 at 11:03 am
Why do you have the pipe [|] character as the terminator? You don't have that in the sample data. ![]()
Also, are you intending that...
August 13, 2007 at 10:56 am
Viewing 15 posts - 55,381 through 55,395 (of 59,078 total)