Viewing 7 posts - 1 through 8 (of 8 total)
Hello Lowell,
Yes I have put indexes on all columns used in the query. So i'm down to 0.35sec
That is still way to long time.
Yes, there are two search terms, that...
November 11, 2009 at 7:29 am
Hello Lowell,
Thank your for your thoughts.
Here's some swedish websites you can check to see what I am trying to do.
both sites are using two conditions, condition what and where and...
November 10, 2009 at 8:47 pm
Thanks for your help, but I got it to work with JOINS.
Now I need help with optimizing it, it takes to long time to recieve all data.
// Daniel
November 10, 2009 at 5:40 pm
I have searched on google, but didn't find anything.
I would a preciate if someone can give me a sample, or redirect me to a page.
BR
Daniel
November 9, 2009 at 3:23 pm
How do you mean with "change your join to an in-statement with a sub-query".
Can you please give me a sample.
// Daniel
November 9, 2009 at 2:25 pm
Here's the whole sp, maybe you will understand better:
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER PROCEDURE [dbo].[sp_GetCompaniesByKeywords]
@KeyWhat varchar(150) = NULL,-- what to search for
@KeyWhere varchar(150) = NULL,-- where to search
@PageSize int...
November 9, 2009 at 2:09 pm
No, I just want Company info like Company name, orgnumber only.
But you can search by address info like zipcode, street address etc.
but i haven't put that in the query yet,...
November 9, 2009 at 2:02 pm
Viewing 7 posts - 1 through 8 (of 8 total)