company logo

Write result to database

The output to database clause requires an operand list after the TO DATABASE or toDatabase keyword. The requirements for the operand list are more specific in this case. The operand list may contain two assignment parameters.

The result is stored in the current or in another database. When storing results in another database, it may take some time, since all primary referenced instances will be copied.

Datasource='data source name' - The data source name refers to a data source definition in the ini-file or in the data catalog. Default is the current database. Extent='extent name' - The extent name refers to an existing or non existing extent in the referenced data source.

In order to call the database output function from within an operation path, the toDatabase keyword has be used.

TO DATABASE ( Datasource='Output',  Extent=SelectedPersons )

Definition: 

to_database := _todb operand_list