Viewing 15 posts - 2,911 through 2,925 (of 3,957 total)
Lowell (8/30/2012)
SELECT definition,T1.*,T2.* from sys.sql_modules
CROSS APPLY dbo.DelimitedSplit8K(definition,' ') T1
CROSS APPLY dbo.DelimitedSplit8K(definition,' ')...
August 30, 2012 at 7:15 am
SQLHeap (8/30/2012)
Pretty clever dwain, thanks for your input!
Hey! Almost missed your thanks there! 😛 You're very welcome.
And don't listen to ChrisM@Work - he's just a grumpy old,...
August 30, 2012 at 6:23 am
ChrisM@Work (8/30/2012)
dwain.c (8/29/2012)
RBarryYoung (8/29/2012)
If the...
August 30, 2012 at 6:21 am
Eugene Elutin (8/30/2012)
Search for "OMG" In J.M. article:http://www.sqlservercentral.com/articles/T-SQL/68467/
It does explain the problem in details and gives good example.
Ah yes, the bible on this subject. It appears Jeff has revised...
August 30, 2012 at 6:00 am
sjsubscribe (8/30/2012)
First off, I never thought about quirky update though I used it before.
Second, your code ran in 5.1 seconds for 300K records...
August 30, 2012 at 4:56 am
First of all, and a good thing for you because I suck at them, I don't think this is a gaps and islands problem. It looks more like a...
August 29, 2012 at 11:13 pm
RBarryYoung (8/29/2012)
If the queries are...
August 29, 2012 at 9:31 pm
Well, one thing that you could do if you were so inclined is to add the schema prefix (e.g., dbo.) to each referenced table in each query.
This is supposed to...
August 29, 2012 at 9:26 pm
Very messy, but kinda fun!
;WITH Tally (n) AS (
SELECT TOP 200 ROW_NUMBER() OVER (ORDER BY (SELECT NULL))
...
August 29, 2012 at 8:03 pm
Jo Pattyn (8/29/2012)
*edit* Not an...
August 29, 2012 at 7:21 pm
Gus,
That's an interesting point on the IOs but in the below test harness (5 docs) it still runs pretty fast, although clearly not as fast as Mark's.
Create table #Doc (
DocNum...
August 29, 2012 at 7:10 pm
ChrisM@Work (8/29/2012)
dwain.c (8/29/2012)
Yep. That's the same error I got.Whatever it is saying, it's odd.
It refers to "fields" too - and took me ages to call them "columns" when I...
August 29, 2012 at 6:34 am
ChrisM@Work (8/29/2012)
dwain.c (8/29/2012)
Yep. That's the same error I got.Whatever it is saying, it's odd.
It refers to "fields" too - and took me ages to call them "columns" when I...
August 29, 2012 at 6:31 am
Yep. That's the same error I got.
Whatever it is saying, it's odd.
August 29, 2012 at 6:11 am
ChrisM@Work (8/29/2012)
dwain.c (8/29/2012)
Had to make a slight correction to my prior post and add a question.
-- casting GETDATE as INT gives different results before and after midday ...
August 29, 2012 at 6:09 am
Viewing 15 posts - 2,911 through 2,925 (of 3,957 total)