Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed up processing for SQL pass thru
Message
From
20/09/2004 19:31:07
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
 
 
To
20/09/2004 11:45:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00944038
Message ID:
00944345
Views:
12
Beth,

I think you need to put some of the code out. Have you considered the coverage profiler to look for the delay? If it is in SQL Server then there is almost certainly an index or other classical explanation. If it is in VFP, you can almost certainly track it using the profiler.

One other suggestion re performance: SQL Server2000 and later compiles and caches parameterized queries, so if you have stereotyped updates you can use parameters to make it much quicker, also SQL-injection-proof (hackers can't "inject" SQL commands into formfields or whatever and have them concatenated into SQL where they cause unexpected results). Use a VFP parameterized remote view as a good template for creating a parameterized SQL command for SQL server.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform