Viewing 15 posts - 6,886 through 6,900 (of 18,926 total)
The good thing about synonyms if that they can be rebuilt quite easily with a script. Maybe I'd check out that route.
April 6, 2011 at 10:47 am
Yup it's the print command... unless you hit a real weird "bug" bu using order by newid() in the concatenation. Otherwise it's the print issue.
April 6, 2011 at 10:44 am
Just concatenate the code in varchar(max) var and exec that... fully automated.
April 6, 2011 at 10:11 am
My first instinct was to use synonyms but I don't really save any work saved over there. Would be a pain to refactor the application to use them...
April 6, 2011 at 10:01 am
I'd do that in the dataset sql side. I would not waste my time trying to do that in SSRS.
April 6, 2011 at 9:52 am
CREATE PROCEDURE dbo.SearchResellers
@Location VARCHAR(100)--100??
, @Type VARCHAR(100)--100?
AS
SET NOCOUNT ON
SELECT
...
April 6, 2011 at 8:10 am
In that case a scan will never be a problem.
April 6, 2011 at 7:52 am
It'll work, but it'll never be very fast and there's not much we can do to help.
April 6, 2011 at 7:48 am
Same problem. The design of the UI is wrong, table design is wrong and there's not much you can do to tune this except maybe full text indexing.
Again my...
April 6, 2011 at 7:41 am
Why don't you tables for those 2 columns? The design doesn't seem to make much sense at the moment.
Can you post the tables definitions (create table script)?
April 6, 2011 at 7:35 am
The order by is not the problem. You don't understand the way it works or the requirement is wrong.
April 6, 2011 at 7:25 am
Well the real question is do you use string litterals or do you have ids for all the values in both dropdowns?
I haven't done any testing on that type of...
April 6, 2011 at 7:13 am
You're bound to get a scan unless you're willing to move away from LIKE '%<search>%'
Now the real question is how fast do you need this to go and how fast...
April 6, 2011 at 7:06 am
He doesn't need to ge to the view once per perdiod, once overall is enough!
April 6, 2011 at 2:50 am
Then maybe I misunderstood the question. can you give more details and examples of what you need help with?
April 5, 2011 at 9:53 am
Viewing 15 posts - 6,886 through 6,900 (of 18,926 total)