BindTransactionToSchema (open)

Link a schema variable to a transaction

Syntax

// Core function, no LOADLIB necessary

SCHEMA FUNCTION BindTransactionToSchema(INTEGER transaction, STRING schemaname)

Parameters

INTEGER transaction

ID of the transaction to which this schema should link

STRING schemaname

Name of the external schema to which this schema should link. If not empty, all database table names are prefixed with 'schemaname.'.

Return value

SCHEMA

A linked schema variable

Description

Establish a link between a table variable and a transaction