Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page - Informix Migration Request SQLWays

Informix Dynamic Server (IDS) Data Types - LVARCHAR

Versions: Informix Dynamic Server 11.x, 10.x, 9.x and 7.x

Infromix - LVARCHAR
Syntax LVARCHAR[(n)]
Data Variable-length character data, single-byte and multibyte character sets
Parameters n is the maximum number of bytes
Range 1 ⇐ n ⇐ 32739
Default n is 2048
Padding Not right-padded with spaces to n
Trailing Spaces Not removed when the value is stored and retrieved
Storage Size Actual entry length
Standards Informix SQL Extension

Example:

CREATE TABLE t_lvarchar (c1 LVARCHAR(3100));

Informix LVARCHAR - Equivalents in Other Databases

Database Data Type and Conversion
Oracle VARCHAR(n), 1 ⇐ n ⇐ 4000/charsize
SQL Server VARCHAR(n | max), 1 ⇐ n ⇐ 8000, 2G if max is specified
MySQL VARCHAR(n), 1 ⇐ n ⇐ 65535/charsize
PostgreSQL VARCHAR(n), 1 ⇐ n ⇐ 1G
Sybase ASE VARCHAR(n), 1 ⇐ n ⇐ pagesize (2K, 4K, 8K or 16K)
HP Neoview VARCHAR(n), 1 ⇐ n ⇐ (32708 - size of other columns)
Ingres NVARCHAR(n), 1 ⇐ n ⇐ 16000, Unicode - UTF-8; TEXT(n), 1 ⇐ n ⇐ 32000

Related Data Types in Informix

Data Types
Fixed-length Character Data CHAR(n) NCHAR(n)
Variable-length Character Data VARCHAR(n,r) NVARCHAR(n,r)
Character Large Objects TEXT CLOB

All Data Types


Ispirer Home Page Ispirer SQLWays Product Page - Informix Migration Request SQLWays

sqlways/informix/data-types/lvarchar.txt · Last modified: May 07, 2018, 03:15:26 PM (external edit)
 
© 1999-2021, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement