SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66887: Creating a Snowflake table using SAS/ACCESS® Interface to Salesforce returns "WARNING...Invalid type...ERROR: Unable to add rows to table..."

DetailsHotfixAboutRate It

When you create a Snowflake table that contains a TIME or TIMESTAMP data type and pass it a length, you encounter an error similar to the following:

WARNING: Line 28: Invalid type time(10); assuming type time(9).
WARNING: Line 34: Invalid type timestamp(10); assuming type timestamp(9).
WARNING: Line 56: No DECLARE for assigned-to variable t6; creating it as a
global variable of type time(6).
WARNING: Line 64: No DECLARE for assigned-to variable ts6; creating it as a
global variable of type timestamp(6).
WARNING: Fractional truncation t7
WARNING: Fractional truncation t5
WARNING: Fractional truncation t6
ERROR: Unable to add rows to table.
ERROR: General error
NOTE: PROC DS2 has set option NOEXEC and will continue to prepare statements. 

Salesforce date ranges are between 1700 and 4000. Dates that are not in the range are invalid in Snowflake.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to SalesforceMicrosoft® Windows® for x649.49.4 TS1M6
Microsoft Windows 8 Enterprise 32-bit9.49.4 TS1M6
Microsoft Windows 8 Enterprise x649.49.4 TS1M6
Microsoft Windows 8 Pro 32-bit9.49.4 TS1M6
Microsoft Windows 8 Pro x649.49.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit9.49.4 TS1M6
Microsoft Windows 8.1 Enterprise x649.49.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit9.49.4 TS1M6
Microsoft Windows 8.1 Pro x649.49.4 TS1M6
Microsoft Windows 109.49.4 TS1M6
Microsoft Windows Server 20089.49.4 TS1M6
Microsoft Windows Server 2008 R29.49.4 TS1M6
Microsoft Windows Server 2008 for x649.49.4 TS1M6
Microsoft Windows Server 2012 Datacenter9.49.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter9.49.4 TS1M6
Microsoft Windows Server 2012 R2 Std9.49.4 TS1M6
Microsoft Windows Server 2012 Std9.49.4 TS1M6
Microsoft Windows Server 20169.49.4 TS1M6
Microsoft Windows Server 20199.49.4 TS1M6
Windows 7 Enterprise 32 bit9.49.4 TS1M6
Windows 7 Enterprise x649.49.4 TS1M6
Windows 7 Home Premium 32 bit9.49.4 TS1M6
Windows 7 Home Premium x649.49.4 TS1M6
Windows 7 Professional 32 bit9.49.4 TS1M6
Windows 7 Professional x649.49.4 TS1M6
Windows 7 Ultimate 32 bit9.49.4 TS1M6
Windows 7 Ultimate x649.49.4 TS1M6
64-bit Enabled AIX9.49.4 TS1M6
64-bit Enabled Solaris9.49.4 TS1M6
HP-UX IPF9.49.4 TS1M6
Linux for x649.49.4 TS1M6
Solaris for x649.49.4 TS1M6
* 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.