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.

760 <strong>ACCESS</strong> Procedure Data Conversions 4 Chapter 26<strong>ACCESS</strong> Procedure Data ConversionsThe following table shows the default <strong>SAS</strong> variable <strong>for</strong>mats that <strong>SAS</strong>/<strong>ACCESS</strong>assigns to Sybase data types when you use the <strong>ACCESS</strong> procedure.Table 26.6PROC <strong>ACCESS</strong>: Default <strong>SAS</strong> Formats <strong>for</strong> Sybase Server Data TypesSybase Column Type <strong>SAS</strong> Data Type Default <strong>SAS</strong> FormatCHAR(n ) character $n. (n 200)VARCHAR(n ) character $n. (n 200)BIT numeric 1.0TINYINT numeric 4.0SMALLINT numeric 6.0INT numeric 11.0FLOAT numeric BEST22.REAL numeric BEST11.SMALLMONEY numeric DOLLAR12.2MONEY numeric DOLLAR24.2SMALLDATETIME numeric DATETIME21.2DATETIME numeric DATETIME21.2The <strong>ACCESS</strong> procedure also supports Sybase user-defined data types. The <strong>ACCESS</strong>procedure uses the Sybase data type on which a user-defined data type is based in orderto assign a default <strong>SAS</strong> <strong>for</strong>mat <strong>for</strong> columns.The DECIMAL, NUMERIC, and TEXT data types are not supported in PROC<strong>ACCESS</strong>. The TIMESTAMP data type does not display in PROC <strong>ACCESS</strong>.DBLOAD Procedure Data ConversionsThe following table shows the default Sybase data types that <strong>SAS</strong>/<strong>ACCESS</strong> assignsto <strong>SAS</strong> variable <strong>for</strong>mats when you use the DBLOAD procedure.Table 26.7PROC DBLOAD: Default Sybase Data Types <strong>for</strong> <strong>SAS</strong> Variable Formats<strong>SAS</strong> Variable Format$w., $CHARw., $VARYINGw.,$HEXw.Sybase Data TypeCHAR(w)w. TINYINTw. SMALLINTw. INTw. FLOATw.dFLOAT

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

Saved successfully!

Ooh no, something went wrong!