Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Optimizing a query
Message
De
09/09/2008 09:01:54
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 6.5 and older
Divers
Thread ID:
01345942
Message ID:
01346032
Vues:
17
>You can try
>
>SELECT Client.Numero FROM Client
>  WHERE Client.NoEntity=@NoEntity AND Client.Fic_Date<@Fic_Date 
> 	AND Client.Loss_Code=@Loss_Code AND Client.CType=@CType
> 	AND EXISTS ( SELECT 1 FROM Invoice WHERE Client.Numero=Invoice.NoClient AND Invoice.Amount=@Amount)
>
Thanks, I ended up doing something like that last night. I will keep you inform later on if this approach resolves the issue.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform