Unicode: Boolean;
The Unicodee property determines whether string fields of database tables are created with the NVARCHAR type.
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: