Viewing 15 posts - 16 through 30 (of 257 total)
I appreciate the help. I'm goingto try yours right now. Its logic CMS uses and it threw me for a loop. It use to be different but now that they changed...
***SQL born on date Spring 2013:-)
January 27, 2017 at 3:03 pm
***SQL born on date Spring 2013:-)
January 27, 2017 at 2:32 pm
Thanks Sue,
I had a feeling I would have to do that. Was just hoping there was some ultra clever way to call it the executing Proc from inside the GetHistory...
***SQL born on date Spring 2013:-)
December 8, 2016 at 6:08 pm
Yeah, My bad on BEGIN/END its been a super long day. This did work but i'm sure someone has a better method. Also how do I grab the calling procs...
***SQL born on date Spring 2013:-)
December 8, 2016 at 4:30 pm
Hello All,
Sorry this took a bit but I started over with all of the indexing. It led to much better results I added PK's to each of the stage tables....
***SQL born on date Spring 2013:-)
December 3, 2016 at 8:21 am
Hello guys,
I have tried several of the suggestions with mixed results. After finishing chapter 4 I think I am going to take Jeff's advice and start from scratch.
I'm not...
***SQL born on date Spring 2013:-)
November 12, 2016 at 9:58 am
Thanks Jeff, i'll keep looking odd thing is I only have one <> 0 in the joins. Unfortunately I have not figured out away around it.
edit: I lied I have...
***SQL born on date Spring 2013:-)
November 6, 2016 at 2:09 pm
Update removed the local variable and used the straight param from the procedure input. Estimates got even better. Current first pass run time 25 minutes 45 million rows total. Prior...
***SQL born on date Spring 2013:-)
November 6, 2016 at 2:07 pm
Hi Grant,
So with the foreign key constraints I am have trouble testing that one out because I can't currently do "Cross-database foreign key references are not supported."
However next week...
***SQL born on date Spring 2013:-)
November 6, 2016 at 9:15 am
Hi Grant,
One of your biggest fans here. Currently on Chapter 4 of your 2012 query performance tuning book. So much to digest here. No Foreign key constraints as of...
***SQL born on date Spring 2013:-)
November 5, 2016 at 5:31 pm
Thanks Alan !
One of these days i'll get good like that. Yes, that was much simplified. Looks like I was over thinking it.
😀
***SQL born on date Spring 2013:-)
November 2, 2016 at 1:01 pm
I think i figured it out. Ugly SQL but it seems to work.
Thanks
--Meeting, Subgroup, Session
CREATE TABLE #Table (MeetingID INT , Levels VARCHAR(20), ProviderName VARCHAR(20), PatientName VARCHAR(20), SubGroupName VARCHAR(20),SessionName VARCHAR(20))
INSERT...
***SQL born on date Spring 2013:-)
November 2, 2016 at 11:43 am
Thanks Jeff,
After I posted I thought about it more and I guess the SAN made it kind of a moot point. Grant basically states at the beginning of the...
***SQL born on date Spring 2013:-)
October 23, 2016 at 1:45 pm
Well duh, i'll call that a senior moment even though I'm only 37 okay, going to give that a try as well.
***SQL born on date Spring 2013:-)
September 30, 2016 at 2:24 pm
Lynn you are always appreciated. You have helped me out so many times. You sir are very appreciated 😀
***SQL born on date Spring 2013:-)
September 30, 2016 at 2:01 pm
Viewing 15 posts - 16 through 30 (of 257 total)