IBM PureData System for Analytics, Version 7.1

Examples

The following examples show how to set encoding for SJIS (Japanese).

When you start a Netezza SQL session, the system checks your environment. The system checks the locale code set setting for the terminal window in which the nzsql command is invoked. To display the locale code set setting, use the Linux command locale charmap.

You can always change the nz_encoding session variable value with an explicit SET command.

To see all the data, the nz_encoding must be the same as the xterm display; that is, utf8 on a utf-8 xterm and latin9 on a latin9 or latin1 xterm. Netezza SQL converts the output from a char or varchar column to utf-8 when the nz_encoding to set to utf8, and nchar or nvarchar columns to latin9 when nzencoding is set to latin9, substituting “?” if the conversion is not valid.



Feedback | Copyright IBM Corporation 2014 | Last updated: 2014-02-28