FlushSchemaCache method |
Applies to
TIB_Connection
Declaration
Procedure FlushSchemaCache;
Description
Use this method if an alteration to the database's metadata structure was
executed through a non-DSQL means.
This means all ways except using a IB_DSQL or other query component and calling
ExecSQL. For example, if you use the ExecuteImmediate() method or execute an
IB_Script, then this method will need to be called in order to make sure that
the internal schema cache will accurately reflect the new changes.
When executing DDL statements through an IB_DSQL or other dataset component IBO
prepares the statement individually and can know that it is a DDL type statement
and take appropriate action automatically.
If the SchemaCacheDir is being used then for the time being it is necessary to
delete those files manually. I will be improving this in a version to come.