Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance Stored Procedure
Message
From
01/03/2010 12:37:01
Moacyr Zalcman
Independent Consultant
São Paulo, Brazil
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01451714
Message ID:
01451781
Views:
31
Hi Naomi

The query calculates the total sales from a store many times based on the times every product were put on sales. I think the query is OK,
in the SP I change a filter and the time to run comes from more than one minute to about 12s. Athougt it is six times slower than running the statement alone, I think it is acceptable.

Very interesting the point of sniffing parameteres I´ll check

Thanks a lot
Previous
Reply
Map
View

Click here to load this message in the networking platform