Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to improve this query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01680377
Message ID:
01680422
Vues:
23
>>>>There is nothing to improve on the query.
>>>>You need to think on how to avoid having to download the whole table and only get those when you need them.
>>>
>>>Walter is absolutely correct. Also, if you don't need all columns, you can just select specific columns - that may help if the table is too wide.
>>
>>Typically my application does need almost all columns. There could be one or two deprecated columns. And I thought that - maybe - if I change the list of columns with "select * from " in the property of the CA, the time it takes to pull the data will be reduced. But maybe it will be reduced by 1-2 seconds. And the customer is complaining of 30-40 seconds. So, for now, I will leave out this approach until I learn more.
>
>Run SQL Server Profiler and check what query your CA run.
>Copy and paste that in SSMS and execute it with Actual Execution plan turned on.
>Then check what Execution plan told you :-)

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform