Top
Symfoware Server V12.1.0 Application Development Guide
FUJITSU Software

6.4.1 Support for National Character Data Types

This section describes how to use the national character data types using the SQL embedded C preprocessor.

The following explains the C language variable types corresponding to the NCHAR type:

Specify the number of characters specified for the NCHAR type multiple by 4, plus 1 for the length of the host variable.

Data Type

Host variable type

NATIONAL CHARACTER(n)

NCHAR variable name [nx4+1]

NATIONAL CHARACTER VARYING(n)

NVARCHAR variable name [nx4+1]

See

Refer to "Handling Character Strings" in "Client Interfaces" in the PostgreSQL documentation for information on using character string types.