Viewing 15 posts - 4,681 through 4,695 (of 6,486 total)
Well - this is an adaptation of the "running totals update" algorithm. It's not exactly set-based, but it certainly does go tearing through the process quite efficiently.
drop table #mytable
DECLARE...
February 18, 2008 at 3:35 pm
TheSQLGuru (2/18/2008)
February 18, 2008 at 3:04 pm
Mike C (2/18/2008)
CREATE FUNCTION dbo.AbsoluteValue (@i INT)
RETURNS INT
WITH...
February 18, 2008 at 2:35 pm
Sounds about right... The Regex "single and multiple" match functions more or less matched T-SQL (with a slight edge Regex),
but the pattern replacement test beat the T-SQL...
February 18, 2008 at 1:23 pm
Okay - results time....:)
First - the test scenario setup. Since the "update" method requires a new table and a clustered index to do its thing, it's necessary to throw...
February 18, 2008 at 12:51 pm
Jeff Moden (2/16/2008)
Matt Miller (2/15/2008)
There's the obvious way, emulating a SQL-style cursor, which seems oh so very...
February 18, 2008 at 10:47 am
I'll have to give this a whirl. I was under the impression nothing inside of anything CLR got profiled, since it was all compiled...
February 17, 2008 at 1:28 am
TheSQLGuru (2/16/2008)
Hey Matt - I got your remote "Hello" at the Raleigh Code Camp today. Some guy came up to me and said "Hey, your TheSQLGuru (had that...
February 17, 2008 at 1:14 am
...It's a shame it took them all of the way until 2005 to hear the clamouring out there, so that they introduced the "include column headers into the query output...
February 15, 2008 at 8:04 pm
Wallace Wood (2/15/2008)
Another way to 'hide' a server and it's databases from the general user is to change the port it is listening on.
If you want to try this- you...
February 15, 2008 at 7:58 pm
I suppose you're going to tell me I'm getting to be predictable now.... :hehe:
There's the obvious way, emulating a SQL-style cursor, which seems oh so very obvious. But ...
February 15, 2008 at 6:41 pm
Jeff Moden (2/15/2008)
Christopher Ford (2/15/2008)
So I says to myself, bah, table variable...you can do it without a table variable!
... for an interesting exercise, please run this...or better yet, don't run...
February 15, 2008 at 6:26 pm
Todd Engen (2/15/2008)
1. It cannot read multi-valued attributes from AD, such as MemberOf.
2....
February 15, 2008 at 1:23 pm
Also - knowing what they plan on doing iteratively with these little sets of rows might be helpful. there might not be a "good reason" why they need the...
February 15, 2008 at 1:06 pm
Christopher Ford (2/15/2008)
I can't think of an...
February 15, 2008 at 12:34 pm
Viewing 15 posts - 4,681 through 4,695 (of 6,486 total)