Viewing 8 posts - 1 through 9 (of 9 total)
I dont know how could I avoid using functions. please give me an example in my view, if it's possible.
thank you in advance.
I also post one of my functions' script.
Maryam
October 13, 2009 at 6:44 am
Thank u for following up.
problem solved! Ichange query to below form and it runs in less than a second.
SELECT * FROM tb_FirstLayer AS FL
WHERE EXISTS(SELECT * FROM tb_SecondLayer AS SL...
August 24, 2009 at 4:42 am
sorry for late reply. this is the actual plan for the second query. the previous plan was an estimated plan.
August 22, 2009 at 2:47 am
sorry, I didn't get u. view JobCategroryRecord doesn't have any Index. but All tables have a primary key (ID). and tables which are participate in joins have nonClustered index on...
August 19, 2009 at 6:01 am
yes. Stored Procedure didnt cause the problem, in my opinion. the Parameter that i pass to the query cause the problem.
August 19, 2009 at 5:02 am
thanx for ur reply. I read the article.
I think that there is something wrong with parameter, because when I run the query with parameter it takes 22 secs to run.
here...
August 19, 2009 at 4:14 am
Viewing 8 posts - 1 through 9 (of 9 total)