Viewing 15 posts - 57,541 through 57,555 (of 59,070 total)
No... but it sounds like you have... what'd ya come up with?
September 27, 2006 at 11:21 am
IMHO, views of views are a bit like writing functions that call functions... they sure seem useful until you need to troubleshoot...
September 27, 2006 at 6:43 am
Or... rewrite the stored procedure to be setbased instead of RBAR.
September 27, 2006 at 6:40 am
I did a bunch of experiments on several different machines (desktop, 4 cpu server, 8 cpu server, etc) about 9 months ago and the results are posted somewhere on this...
September 27, 2006 at 4:50 am
Serqiy, cool function... especially great for bi-monthly paydays on the 1st & 15th, etc.
Bellefso... this returns the first date of the current month... was in both Serqiy's and my examples...
SELECT
September 26, 2006 at 9:41 pm
In a function, instead of (over simplified example)...
..etc..
I use,
September 26, 2006 at 9:12 pm
September 26, 2006 at 9:00 pm
I'm still looking for the function that will split a 2gb string on a delimiter, Serqiy... any chance of you posting it or the URL you got it from? Thank...
September 26, 2006 at 8:41 pm
I wondered when you were going to show up on this one ![]()
September 26, 2006 at 1:26 am
I agree about the BEGIN/END where no transaction is defined... however, if you check out Books Online, you'll find that BEGIN/END is required syntax in UDF's
September 26, 2006 at 1:24 am
Sorry... didn't see Remi's solution, which is obviously spot on! ![]()
September 26, 2006 at 12:14 am
If this in in a complex GROUP BY, forget COUNT... you have a condition and COUNT isn't going to do it for you... SUM(CASE will....
September 26, 2006 at 12:13 am
Not sure how you're using it, but "IF" smacks of Cursors, While Loops, and other forms of "RBAR"... if you really want you code to fly, write it set-based with...
September 26, 2006 at 12:08 am
Viewing 15 posts - 57,541 through 57,555 (of 59,070 total)