Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird SQL updateable view behavior
Message
De
17/04/2004 19:46:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00895860
Message ID:
00895865
Vues:
19
>Anybody got any idea why I get a 'connection myconnection is busy' if I open a view and REPLACE myfield WITH foo, but if I issue an SQL update statement into that same table, it takes it? Please let me know what the deal is, there would be a lot of code to change. Thanks a ton,
>
>jfh

How big is the back-end table? If it has a lot of records, and you don't have a WHERE clause defined in the remote view, it will have to bring all of those down to your client machine, do the update, and pass them back to the server. Even if you do have a WHERE clause it can still take a considerable amount of time.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform