Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with View
Message
From
11/10/2013 00:29:43
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008 R2
Application:
Desktop
Miscellaneous
Thread ID:
01585239
Message ID:
01585241
Views:
45
Hi Kevin,

Thanks for your reply - I am not at the office at the moment but will look at getting this when I can.

I did not think that changing the value in a 'where' clause would affect the execution plan but clearly it does. Is there anyway to force the view to be treated as a table, as in
Select * from vwSalesResults into #temp
Select * from #temp where HeadOfficeCode = 'BBB'
Andy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform