Create Snapshots


Creating databases and table snapshots.

SQL Database Snapshots

This article discusses the SQL Snapshot objects in Alpha Anywhere. Snapshots store database definitions and data in a single object that can be created from a live database, persisted to and read back from XML, and can be used to create or re-load a database.

SQL::DatabaseSnapshot Example: Selected Tables

Deals with issues of flexibility of the objects in SQL::DatabaseSnapshot.

SQL::TableSnapshot Example: A Single Table

Create and manage a snapshot of a single table using the same object (SQL::TableSnapshot) that SQL::DatabaseSnapshot uses to manage its collection of tables.

SQL::TableSnapshot Example: Scripting the Load

You can create a snapshot yourself, programmatically; as in this example.