Viewing 15 posts - 196 through 210 (of 7,635 total)
tmoleary (8/27/2012)
August 28, 2012 at 8:03 am
Ok, try this query:
SELECT
pat1.TIUDocumentSID,
pat1.ScrSSN,
pat1.Sta3n,
doc.ReferenceDate,
doc.ReportText,
...
August 27, 2012 at 4:51 pm
tmoleary (8/27/2012)
August 27, 2012 at 4:18 pm
What facility is the "Server only Alias"? Can you point me to the doc for it?
The only way that I've heard of anything like this was through the SPN's,...
August 27, 2012 at 12:33 pm
Use the profiler to pull up the actual query plan for your user. Compare that to your own query plan when you try to execute it.
August 27, 2012 at 11:49 am
What do you mean "changing back to an earlier database"?
August 27, 2012 at 11:45 am
pcasey (8/24/2012)
August 26, 2012 at 3:19 pm
ChrisM@Work (8/24/2012)
SQL Kiwi (8/24/2012)
ChrisM@Work (8/24/2012)
August 26, 2012 at 3:07 pm
GilaMonster (8/26/2012)
It's worth noting, the FAST 1 hint will result in the optimiser estimating and optimising for 1 row only....
August 26, 2012 at 2:36 pm
Can you show us what the query/execution plan from this looks like:
SELECT pat2.TIUDocumentSID, icd.ICDCode, icd.DiagnosisText
into #d
FROM [VHA19\VHASLCOlearT].PatientMap_1K_patients AS pat2
INNER JOIN Src.Visit_IDs AS vis ON pat2.Sta3n = vis.Sta3n...
August 26, 2012 at 2:35 pm
I see you're also using OPTION (FAST 1), I thought that that didn't work anymore?
August 26, 2012 at 2:10 pm
Hmm, the estimates in the NO-OrderBy version are really bad too. I wonder why that is?
Could you supply the DDL for the tables with keys and indexes please? ...
August 26, 2012 at 2:00 pm
Hmm, the query plan looks odd to me. The relationship between estimated and actual suggests that things could be improved, but what's really suprising to me is that the...
August 26, 2012 at 1:54 pm
Well, you're trying to sort 1.6 million rows. To do that "quickly" (several seconds) requires a substantial amount of memory, depending on how big these rows are. If...
August 26, 2012 at 10:58 am
Resetting the password is the proper procedure for this.
August 26, 2012 at 10:47 am
Viewing 15 posts - 196 through 210 (of 7,635 total)