![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/ACCESS Software for Relational Databases: Reference |
| Character Data |
| Numeric Data |
| Abstract Data |
| NULL and Default Values |
| LIBNAME Statement Data Conversions |
| Informix Column Type | Default SAS Format |
|---|---|
| CHAR(n) | $n |
| DATE | DATE9. |
| DATETIME | DATETIME20. |
| DECIMAL | none |
| DOUBLE PRECISION | none |
| FLOAT | none |
| INTEGER | none |
| INTERVAL | $n |
| MONEY | none |
| NCHAR(n) | $n |
| NUMERIC | none |
| NVARCHAR(m,n)* | $m |
| REAL | none |
| SERIAL | none |
| SMALLFLOAT | none |
| SMALLINT | none |
| TEXT* | $n |
| VARCHAR(m,n)* | $m |
| *Only supported by Informix-Online
databases
**If the Informix field qualifier specifies either HOUR, MINUTE, SECOND, or FRACTION as the largest unit, the value is converted to a SAS TIME value. All others, such as YEAR, MONTH, or DAY, are converted to a SAS DATETIME value. |
|
The length of the date value determines the
precision.
| SQL Procedure Pass-Through Facility Data Conversions |
The SQL Procedure Pass-Through Facility uses the same default conversion formats as the LIBNAME statement. See LIBNAME Statement Data Conversions for the conversion tables.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.