service Table in module com::sun::star::sdbcx::

(Global Index)

Syntax

service Table;

Description

used to specify a table in a database. A table is described by its name and one or more columns.

In addition, it may contain indexes to improve the performance in the retrieval of the table's data and keys, and to define semantic rules for the table.

Note: All properties and columns of a table could by modified before it is appended to a database. In that case, the service is in fact a descriptor. On existing tables, a user might alter columns, add or delete columns, indexes, and keys depending on the capabilities of the database and on the user's privileges.

See also

XDatabaseMetaData

See also

Privilege

Exported Interfaces

com::sun::star::sdbcx::XDataDescriptorFactory [ OPTIONAL ]

Description

optional, could be used to copy an table.


com::sun::star::sdbcx::XColumnsSupplier

Description

access to the contained table columns.


com::sun::star::sdbcx::XIndexesSupplier [ OPTIONAL ]

Description

optional, provides the access of the table indexes.


com::sun::star::sdbcx::XKeysSupplier [ OPTIONAL ]

Description

optional, provides the access to the table keys.


com::sun::star::sdbcx::XRename [ OPTIONAL ]

Description

optional, allows the renaming of tables.


com::sun::star::sdbcx::XAlterTable [ OPTIONAL ]

Description

optional, allows the altering of columns.


com::sun::star::beans::XPropertySet

Description

provides information about and access to the properties from an implementation.


Property Summary

Name is the name of the table.

CatalogName is the name of the table catalog.

SchemaName is the name of the table schema.

Description supplies a comment on the table. Could be empty, if not supported by the driver.

Type indicates the type of the table like (TABLE, VIEW, SYSTEM TABLE). Could be empty, if not supported by the driver. @optional

Property Details



Name

Syntax

[readonly] string Name;

Description

is the name of the table.


CatalogName

Syntax

[readonly] string CatalogName;

Description

is the name of the table catalog.


SchemaName

Syntax

[readonly] string SchemaName;

Description

is the name of the table schema.


Description

Syntax

[readonly] string Description;

Description

supplies a comment on the table. Could be empty, if not supported by the driver.


Type [ O P T I O N A L ]

Syntax

[readonly] string Type;

Description

indicates the type of the table like (TABLE, VIEW, SYSTEM TABLE). Could be empty, if not supported by the driver. @optional

Top of Page