Skip to content
Gilles QUERRET edited this page Apr 3, 2015 · 8 revisions

PCTDumpSchema task -- <pct:schema_dump />

Description

Dumps database schema to file.

Parameters

Attribute Description Type Requirement Default value
destFile Destination file to dump the schema File Required No default value
tables Dumps only the selected tables. Comma-separated list String Optional No default value

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

Parameters as nested elements

Table

Loads a specific table. Merges with the Tables attribute.

Examples

<PCTDumpSchema destFile="schema.df" dlcHome="${env.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