Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Snapshots
Message
From
07/01/2003 08:22:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/01/2003 07:07:08
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00738699
Message ID:
00738719
Views:
15
>Has anyone got any effective methods for taking snapshots of data.
>
>I have one table, that has one-to-many relationships with quite a few tables. At certain points in the system, a snapshot of this table needs to happen, and the other tables will need to reference the [historical] data at the point in time the snapshot was taken.
>
>Hope that makes sense, we have many ideas to tackle this, but they all seem nasty, so I'm looking for a nicer way to do it.
>
>Any ideas?
>
>Thanks
>Kev

Kevin,
For a similar need I did this :

CursorToXML(...)
oZipper.Compress(cXML)
insert into SnapShots ... ;
(SnapShotTakenAt, len(cXML), oZipper.CompSize, OrigCRC, CompCRC, oZipper.CompSTR)

* Actually I took only processed parts representing updategrams in a way

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform