Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change view order
Message
De
03/07/2003 12:25:31
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00806610
Message ID:
00806611
Vues:
14
I would take the ORDER BY off the view and let the query that is hitting the view set the correct order.

-Mike

>I have a reporter program that I am working on that is based on a view of SQL data that is generated when the forms opens up. What I need to do is to change the order of the view when a user wants to set a specific order. I can requerey the view with an "order by " clause but it starts to slow down the performance overall. How would I accomplish this and not sacrifice the performance of the program?
>
>Thanks in advance
>Kelly
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform