Viewing 15 posts - 106 through 120 (of 256 total)
Thanks that did it! Now to understand what was going on.:-D
December 22, 2014 at 1:07 pm
Shawn,
He may mean how to pass multiple values through a single parameter via a split list function. Just a guess though as the wording is confusing.
Great article!
November 4, 2014 at 7:19 am
I'm still new but from what I understand, if it is relational there is never a guaranteed order. There however is a illusion of order based on the optimizer choosing...
October 16, 2014 at 8:28 pm
Okay, I removed the CTE that was being used for Immune denom and set it to a regular query update and now it ran in 24 seconds.. So confused.:w00t:
October 11, 2014 at 1:34 pm
Here is the Immunization function. This is one of the spots it seems to hang up on when I'm watching the execution plan update.
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE FUNCTION [dbo].[cusUDSImmunOBSData_2014](@OBSCategory...
October 11, 2014 at 11:16 am
Lynn, it is. This is my redo. It's still better than the original which would run for hours. I'll see what other information I can provide.
October 11, 2014 at 11:12 am
Thanks Luis QUOTENAME() put me on the right path. Was able to get the script complete quickly. Thanks:-)
October 11, 2014 at 9:45 am
My apologies Luis, I have already had a beer or two for the night. The Inserts come from scripting the table similar to the image that you showed me as...
October 10, 2014 at 6:40 pm
I am hoping you much smarter gentlemen than myself know better ways of doing this. Other wise I have a long weekend ahaead...:crazy:
October 10, 2014 at 6:17 pm
right after that first line I showed in the code. That's my problem Idont want to go through that whole thing putting in ' ' ' ' ' to get...
October 10, 2014 at 6:14 pm
Thanks Luis for your reply,
this is what that gives me IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[cusUDSImmunizationCategoryProcedures_2014]') AND type in (N'U'))
but I need to check if...
October 10, 2014 at 5:57 pm
I just did that and I am currently running a 50-55 second query vs 8+ minutes. I just don't understand why such a small thing made such a huge difference....
October 4, 2014 at 12:00 pm
Oddly when I remove the OR (r.Trimester >0) it runs in 50-55 seconds not the 8+ minutes.. Now very, very confused.
October 4, 2014 at 10:16 am
When I hover over the object name in SSMS it tells me table or view in the query window. Not sure if I have something extra turned on ?
September 18, 2014 at 1:43 pm
Unfortunately there is no ability to change visibility of a parameter dynamically. However, you can populate the choices in the Parameter selection dynamically via "Cascading Parameters".
You could do something like...
September 18, 2014 at 7:38 am
Viewing 15 posts - 106 through 120 (of 256 total)