Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Re: Speed
Divers
Thread ID:
00729878
Message ID:
00729903
Vues:
10
>Hi All:
> When I execute a EXECUTE (EXECUTE[acctdata]) sql command from my VFP application, it takes 10 minutes return the results. However, when I run the store procedure from the sql, it takes only 3 minutes to return the results. Is there a way I can improve the speed of my EXECUTE command when run from VFP?
>Thanks

I think the reason Execute command is slower because it first have to complie the code to be executed.
In my ecperience running a procedure is always faster than using ExecuteScript in VFP (I assume Execute sql command works the same way as executescript in VFP)

The time difference seems very large.
Have you looked into making the code faster(optimized)?
Is there a trafic jam on your network that is slowing you down?

If speed is important I would use the stored procedure.

Well that was just my 2 pennies worth

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform