Bde.DBTables.TDatabase.FlushSchemaCache

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure FlushSchemaCache(const TableName: string);

C++

void __fastcall FlushSchemaCache(const System::UnicodeString TableName);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TDatabase

Description

Flushes the cached schema information for a table.

Call FlushSchemaCache if the schema information for an SQL table is changed (for example, because a field, index, or table is added to or dropped from a database).

When an application opens an SQL table, schema information that describes the field names, field types, and index information is stored in memory. If an application changes the schema for an SQL table, it should call FlushSchemaCache to update the schema information in memory.

See Also