SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 14418: Error creating a Teradata table with a DATETIME column via SAS/ACCESS Interface to OLE DB

DetailsHotfixAboutRate It
Using SAS/ACCESS Interface to OLE DB to create a Teradata table that
contains a DATETIME field will result in the following error:

  ERROR: Error attempting to CREATE a DBMS table.
  ERROR: Execute error:ICommand::Execute failed. :
  [NCR][Teradata RDBMS] Number of fractional digits out of range.

As a workaround, the DBTYPE data set option can be used to create
the DATETIME field correctly:

  libname mylib oledb..;
  data mylib.tab1 (DBTYPE=(colname='timestamp(6)'));
    set sashelp.tab2;
  run;


A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:

http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#014418

For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:

http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#014418


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to OLE DBMicrosoft Windows Server 2003 Enterprise Edition9.1 TS1M39.1 TS1M3 SP2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows 2000 Server9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows 2000 Advanced Server9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows 2000 Datacenter Server9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows XP Professional9.1 TS1M39.1 TS1M3 SP2
Microsoft Windows 2000 Professional9.1 TS1M39.1 TS1M3 SP2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.