Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid subs() on left side of equal
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
How to avoid subs() on left side of equal
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01434947
Message ID:
01434947
Vues:
120
Performance wise I know we should avoid having scalar functions on the left side of the equal in the where clause. Anybody have an idea on how to avoid it in something like below?

Thanks
Select min(sdatetime) as FirstDate 
from dbo.Meetings (nolock) 
where iscancelled=0
and roomclosed=0
and isblock=0
and substring(scheduledBy,1,4)<>'TEST'
and substring(scheduledBy,1,3)<>'CQI'
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform