Skip to content
Gilles QUERRET edited this page May 9, 2017 · 9 revisions

Description

Dumps database schema to file.

XML namespace

<pct:schema_dump />

Parameters

Attribute Description
destFile ‡ Destination file to dump the schema
tables Dumps only the selected tables. Comma-separated list

† Only one of those attributes is mandatory ‡ Mandatory attribute

PCTDumpSchema inherits attributes from PCT and PCTRun. However, PCTDumpSchema must have one and only one PCTConnection.

Parameters as nested elements

Table

Dumps a specific table. Merged with the tables attribute.

Examples

<PCTDumpSchema destFile="schema.df" dlcHome="${DLC}">
  <PCTConnection dbName="test" singleUser="true" />
</PCTDumpSchema>

Connects in single-user mode to test.db and dumps schema to schema.df

Clone this wiki locally