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

(Global Index)

Syntax

service ColumnDescriptor;

Description

describes the common properties of a database column. Could be used for the creation of a database columns within a table.

See also

Column

See also

Table

Included Services

com::sun::star::sdbcx::Descriptor

Property Summary

Type is the DataType of the column.

TypeName is the type name used by the database. If the column type is a user-defined type, then a fully-qualified type name is returned. May be empty.

Precision gets a column's number of decimal digits.

Scale gets a column's number of digits to right of the decimal point.

IsNullable indicates the nullability of values in the designated column.

IsAutoIncrement indicates whether the column is automatically numbered, thus read-only.

IsRowVersion indicates that the column contains some kind of time or date stamp used to track updates.

Description keeps a description of the object.

DefaultValue keeps a default value for a column, is provided as string.

Property Details



Type

Syntax

long Type;

Description

is the DataType of the column.


TypeName

Syntax

string TypeName;

Description

is the type name used by the database. If the column type is a user-defined type, then a fully-qualified type name is returned. May be empty.


Precision

Syntax

long Precision;

Description

gets a column's number of decimal digits.


Scale

Syntax

long Scale;

Description

gets a column's number of digits to right of the decimal point.


IsNullable

Syntax

long IsNullable;

Description

indicates the nullability of values in the designated column.

See also

ColumnValue

IsAutoIncrement

Syntax

boolean IsAutoIncrement;

Description

indicates whether the column is automatically numbered, thus read-only.

See also

ColumnValue

IsRowVersion [ O P T I O N A L ]

Syntax

boolean IsRowVersion;

Description

indicates that the column contains some kind of time or date stamp used to track updates.


Description [ O P T I O N A L ]

Syntax

string Description;

Description

keeps a description of the object.


DefaultValue [ O P T I O N A L ]

Syntax

string DefaultValue;

Description

keeps a default value for a column, is provided as string.

Top of Page