IDatabase.Unicode

Syntax

Unicode: Boolean;

Description

The Unicodee property determines whether string fields of database tables are created with the NVARCHAR type.

Example

Sub Main;

Var

MB: IMetabase;

Object: IMetabaseObject;

Database: IDatabase;

Begin

MB:=MetabaseClass.Active;

Object:=MB.ItemById("BD").Edit;

Database:=Object As IDatabase;

Database.Unicode:=True;

Object.Save;

End Sub Main;

After executing the example, string fields in tables are created with the NVARCHAR type.

See also:

IDatabase