Ispirer Website Ispirer Toolkit Overview Free Trial

HP Neoview Data Types - CHAR

Versions: HP Neoview 2.4, 2.3 and 2.2

HP Neoview - CHAR
Syntax CHAR[(n)] [CHARACTERS]
Data Fixed-length character data, single-byte and multibyte character sets
Parameters n is the maximum number of characters, optional
Range 1 ⇐ n ⇐ (32708 - size of other columns)
Default n is 1
Padding Right-padded with spaces to n
Character Set Database default, unless it is specified using the CHARACTER SET clause
Storage Size n*charsize
Synonyms CHARACTER
Standards ANSI SQL

HP Neoview CHAR - Equivalents in Other Databases

Database Data Type and Conversion
Oracle CHAR(n), 1 ⇐ n ⇐ 2000/charsize
SQL Server CHAR(n), 1 ⇐ n ⇐ 8000
IBM DB2 CHAR(n), 1 ⇐ n ⇐ 254
MySQL CHAR(n), 0 ⇐ n ⇐ 255
PostgreSQL CHAR(n), 1 ⇐ n ⇐ 1G
Sybase ASE CHAR(n), 1 ⇐ n ⇐ pagesize (2K, 4K, 8K or 16K)
Sybase ASA CHAR(n), 1 ⇐ n ⇐ 32767/charsize
Informix CHAR(n), 1 ⇐ n ⇐ 32767
Teradata CHAR(n), 1 ⇐ n ⇐ 64000/charsize
Interbase/Firebird CHAR(n), 1 ⇐ n ⇐ 32767/charsize
Ingres CHAR(n), 1 ⇐ n ⇐ 3200

Related Data Types in HP Neoview

Data Types
Fixed-length Character Data NCHAR(n)
Variable-length Character Data VARCHAR(n) NVARCHAR(n)

All Data Types


© 1999-2024, Ispirer Systems, LLC. All Rights Reserved.