Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with View
Message
De
11/10/2013 00:29:43
 
 
À
11/10/2013 00:06:35
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008 R2
Application:
Desktop
Divers
Thread ID:
01585239
Message ID:
01585241
Vues:
44
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform