Viewing 15 posts - 1,681 through 1,695 (of 1,825 total)
manish.singh (7/17/2009)
I am just curius to know whether the above solution worked for 4th, 5th level of the child records. I tried here with some sample data but didnt...
July 17, 2009 at 7:18 am
Gaby A. (7/16/2009)
July 16, 2009 at 6:55 am
At a guess, it could be something to do with session settings, ie SET ANSI_NULLS , SET CONCAT_NULL_YIELDS NULL etc...
Confirm that they are the same in sys.dm_exec_sessions
July 16, 2009 at 6:09 am
I think David is referring to this
July 15, 2009 at 9:14 am
If rebuilding the index doesnt help the post the plan , interesting to see if it stopped with GoodEnoughPlanFound ?
July 15, 2009 at 8:11 am
So whats the plan like for
SELECT *
FROM dbo.EmailRecipients er
INNER JOIN Emails e ON er.EmailID = e.EmailID
WHERE er.SentDate IS NULL
AND er.SendingComputerName IS NULL
AND (e.EmailTypeName LIKE 'System:%' or
...
July 15, 2009 at 7:56 am
Is this functionally the same ???
SELECT *
FROM dbo.EmailRecipients er
INNER JOIN Emails e ON er.EmailID = e.EmailID
WHERE er.SentDate IS NULL
AND er.SendingComputerName IS NULL
AND (e.EmailTypeName LIKE 'System:%' or
...
July 15, 2009 at 7:36 am
Personally i think i would be better to have a seperate code path for where @AdditionalUser is and is not null.
July 15, 2009 at 7:24 am
Jeff Moden (7/15/2009)
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then...
July 15, 2009 at 6:27 am
Hmm,
i dont like the scan on the Users table. Really not sure why its done that.
Maybe you sort out the top X users , then join to the Users table
Maybe...
July 15, 2009 at 3:11 am
jymoorthy (7/15/2009)
The following statement runs forever without any results 🙁
SELECT * FROM TableName
WHERE CONVERT(char(8),DAT_TIM,112) = @STARTDATE
That will run forever as indexing cant be used,
SQLServer will have to scan each row...
July 15, 2009 at 2:21 am
Not that i doubt you but, are you 100% sure that that can be the only explanation ? There were no other bugs that could of caused it to...
July 15, 2009 at 2:07 am
To satisfy your curiosity, here's your test run through our 'production level' backup server.
SQL Server Execution Times:
CPU time = 109 ms, elapsed time = 129...
July 15, 2009 at 1:30 am
I think in Lowells example , most of the delay is returning the data to the client
if you look at the query plans for
SELECT TOP 10 object_id from sys.columns order...
July 14, 2009 at 7:54 am
Tried and tested solution
create table #t1(
RecordID integer,
ParentRecordID integer,
Credit integer)
go
insert into #t1 values(1, NULL, 10)
insert into #t1 values(2, NULL, 5)
insert into #t1 values(3, 1, 7)
insert into #t1 values(4, 1, 8)
insert into...
July 14, 2009 at 7:37 am
Viewing 15 posts - 1,681 through 1,695 (of 1,825 total)