13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to OLE DB 4 LIBNAME Statement Data Conversions 705LIBNAME Statement Data ConversionsThis table shows all data types and default <strong>SAS</strong> <strong>for</strong>mats that <strong>SAS</strong>/<strong>ACCESS</strong> Interfaceto OLE DB supports. It does not explicitly define the data types as they exist <strong>for</strong> eachdata source. It lists the types that each data source’s data type might map to. Forexample, an INTEGER data type under DB2 might map to an OLE DB data type ofDBTYPE_I4. All data types are supported.Table 24.4OLE DB Data Types and Default <strong>SAS</strong> FormatsOLE DB Data TypeDBTYPE_R8DBTYPE_R4DBTYPE_I8DBTYPE_UI8Default <strong>SAS</strong> FormatnonenonenonenoneDBTYPE_I4 11.DBTYPE_UI4 11.DBTYPE_I2 6.DBTYPE_UI2 6.DBTYPE_I1 4.DBTYPE_UI1 4.DBTYPE_BOOL 1.DBTYPE_NUMERICDBTYPE_DECIMALDBTYPE_CYDBTYPE_BYTESDBTYPE_STRDBTYPE_BSTRDBTYPE_WSTRDBTYPE_VARIANTDBTYPE_DBDATEDBTYPE_DBTIMEDBTYPE_DBTIMESTAMPDBTYPE_DATEm or m.n or none, if m and n are not specifiedm or m.n or none, if m and n are not specifiedDOLLARm.2$n.$n.$n.$n.$n.DATE9.TIME8.DATETIMEm.n, where m depends on precisionand n depends on scaleDBTYPE_GUID $38.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!