Viewing 15 posts - 556 through 570 (of 608 total)
Thanks GSquared.
Here's the proc that calls the two functions:
USE [FL16_QA]
GO
/****** Object: StoredProcedure [dbo].[_TPX_NameSearch_SEL] Script Date: 02/19/2009 13:55:08 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[_TPX_NameSearch_SEL]
@fullname varchar(100)
,@minPercentage...
February 19, 2009 at 12:36 pm
much thanks for the comments..we are using if's and they seem to preform okay...
Why do I have a feeling the case statments would have worked better..or..some other form of case..?...
February 12, 2009 at 9:54 pm
Thanks Gail,
We went to the link you provided and re-wrote the proc.
It seems to be working well.
Thanks again.
February 12, 2009 at 7:38 am
Here's the defiition.
The reason for dynamic sql, the front end has various fields the user may/may not enter and we don't know which they'll send.
USE [LoggerSource]
GO
/****** Object: Table [dbo].[Logger2]...
February 11, 2009 at 1:36 pm
Thanks Carolyn,
I got a syntax error and moved the "+" outside of the single quote on @RequestId and Convert(Unique......
Now I'm gettting the following error: Operand type clash:...
February 11, 2009 at 12:34 pm
AAAhhhhh I seeee said the blind man.....thanks Greg!!!
February 11, 2009 at 9:45 am
I'd like to avoid using dynamic sql, so I'm open to any suggestions. There are 12 potential parameters in all.
I tried Greg's suggestion, but in my case,...
February 11, 2009 at 9:33 am
Thank you all VERY much for taking the time to help me. Good karma to all of you.
You know, after getting a little sleep..I think the overall theme here is...
February 6, 2009 at 9:35 am
Sorry, didn't register that you're using adhoc sql generated in the app. If that is the case perhaps consider using sp_create_plan_guide which should work quite well with your unknown WHERE...
February 5, 2009 at 6:46 pm
And yes, you do need to determine where the slow down is occuring because it's not from compile time on such simple execution plans.
Grant did u see the app?...
February 5, 2009 at 5:52 pm
Edit: Sorry, didn't register that you're using adhoc sql generated in the app. If that is the case perhaps consider using sp_create_plan_guide which should work quite well with your unknown...
February 5, 2009 at 5:46 pm
DBCC DROPCLEANBUFFERS should only get run as a test. That removes all the data from memory. Based on the queries you've shown, compiles aren't your issue. You're looking at memory...
February 5, 2009 at 5:20 pm
The only time an adhoc plan will be reused is if the sql matches exactly to the one that create the plan. Exactly meaning down to the white space and...
February 5, 2009 at 3:54 pm
Thanks SQLGuru
So there's no way to enforce the READ UNCOMMITED at a system level?
I don't have any control over what the devs write in their ad-hoc queries. So, it...
February 4, 2009 at 12:21 pm
Viewing 15 posts - 556 through 570 (of 608 total)