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

(Global Index)

Syntax

service View;

Description

is used to specify views on data. A view object is only used for creation and deletion. Inspecting the command of a view is normally not supported.

If a view is going to be added to a database, the view must have a unique name within the view and the table container, as it can be used like a table. Note: After addition, both the containers for views and the container for tables must contain an element for the view.

Exported Interfaces

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

Description

is optional for implementation.


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 view.

CatalogName is the name of the views catalog, may be empty.

SchemaName is the name of the view's schema, may be empty.

Command is the command for creating the view. After appending a view to its container, the command may be empty. This is typically a SQL Select-Statement.

CheckOption indicates if a check option should be used for the view.

Property Details



Name

Syntax

[readonly] string Name;

Description

is the name of the view.


CatalogName

Syntax

[readonly] string CatalogName;

Description

is the name of the views catalog, may be empty.


SchemaName

Syntax

[readonly] string SchemaName;

Description

is the name of the view's schema, may be empty.


Command

Syntax

[readonly] string Command;

Description

is the command for creating the view. After appending a view to its container, the command may be empty. This is typically a SQL Select-Statement.


CheckOption

Syntax

[readonly] long CheckOption;

Description

indicates if a check option should be used for the view.

See also

CheckOption
Top of Page