Problem Note 66887: Creating a Snowflake table using SAS/ACCESS® Interface to Salesforce returns "WARNING...Invalid type...ERROR: Unable to add rows to table..."
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
SAS System | SAS/ACCESS Interface to Salesforce | Microsoft® Windows® for x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Enterprise x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Pro 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8 Pro x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 8.1 Pro x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows 10 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2008 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2008 R2 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2008 for x64 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Datacenter | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 R2 Std | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2012 Std | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2016 | 9.4 | | 9.4 TS1M6 | |
Microsoft Windows Server 2019 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Enterprise 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Enterprise x64 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Home Premium 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Home Premium x64 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Professional 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Professional x64 | 9.4 | | 9.4 TS1M6 | |
Windows 7 Ultimate 32 bit | 9.4 | | 9.4 TS1M6 | |
Windows 7 Ultimate x64 | 9.4 | | 9.4 TS1M6 | |
64-bit Enabled AIX | 9.4 | | 9.4 TS1M6 | |
64-bit Enabled Solaris | 9.4 | | 9.4 TS1M6 | |
HP-UX IPF | 9.4 | | 9.4 TS1M6 | |
Linux for x64 | 9.4 | | 9.4 TS1M6 | |
Solaris for x64 | 9.4 | | 9.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.
When you create a Snowflake table with an invalid TIME or TIMESTAMP value using SAS/ACCESS Interface to Salesforce, a message similar to the following occurs: "WARNING: Line 28: Invalid type time(10); assuming type time(9). WARNING: Line 34: Invalid type timestamp(10); assuming type timestamp(9)..."
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-11-06 13:55:01 |
Date Created: | 2020-11-04 10:33:19 |