Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC for views
Message
From
21/09/2004 13:45:39
Walter Meester
HoogkarspelNetherlands
 
 
To
21/09/2004 13:28:28
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00944541
Message ID:
00944649
Views:
45
Hi Walter

>>This all work very well. For one project I've wrapped several databases into one transaction and it all works fine. However you cannot wrap free tables into a transaction.

>But the real question is, do you know if there is any truth to the idea that the transaction is "safe" since all tables are in a single DBC?

It is also 'safe' if the tables are accross different DBCs. It really does not matter. If wrapping updates in mutliple DBCs into one transaction, and the transactions fails and you do a rollback all changes are rolled back.

And of course a VFP transaction is not really safe compared to the ACID properties found in SQL server. If during the transaction the power goes off, you don't know what you'll end up with.

>>One tip: If you want to speed up your views, make sure that they either are readonly or opened exclusively. This will cache the DBC on your workstation and will speed up opening and requerying of your views.

>The whole point of this second DBC is to have it on the local machine along with the exe.

Why not including it into the executable itself?

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform