Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird SQL updateable view behavior
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00895860
Message ID:
00895869
Views:
25
>>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.


The 2 backend tables this is happening on are pretty large, but the view has filters set so that is only return the necessary record. I think the 'busy' message means 'tough luck' as it never updates, I have to tablerevert it. Thanks for the reply!

jfh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform