Problem Note 70601: An invalid date in MySQL shows as an incorrect date in SAS® when using SAS/ACCESS® Interface to ODBC
In MySQL, the supported date range is 1000-01-01 to 9999-12-31 in the YYYY-MM-DD format. However, MySQL does not return an error if you insert a date with value 0001-01-01. When you view this date in SAS, it is incorrectly displayed with a year value of 2001.
Click the Hot Fix tab in this note to access the hot fix for this issue.
After applying the hot fix, the invalid date will show as a null value ( . ) in SAS.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to MySQL | 64-bit Enabled AIX | | | 9.4 TS1M7 | |
Windows 7 Ultimate x64 | | | 9.4 TS1M7 | |
Windows 7 Ultimate 32 bit | | | 9.4 TS1M7 | |
Windows 7 Professional x64 | | | 9.4 TS1M7 | |
Windows 7 Professional 32 bit | | | 9.4 TS1M7 | |
Windows 7 Home Premium x64 | | | 9.4 TS1M7 | |
Windows 7 Home Premium 32 bit | | | 9.4 TS1M7 | |
Windows 7 Enterprise x64 | | | 9.4 TS1M7 | |
Windows 7 Enterprise 32 bit | | | 9.4 TS1M7 | |
Microsoft Windows Server 2022 | | | 9.4 TS1M7 | |
Microsoft Windows Server 2019 | | | 9.4 TS1M7 | |
Microsoft Windows Server 2016 | | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 Std | | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 R2 Std | | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 R2 Datacenter | | | 9.4 TS1M7 | |
Microsoft Windows Server 2012 Datacenter | | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 for x64 | | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 R2 | | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 | | | 9.4 TS1M7 | |
Microsoft Windows 11 | | | 9.4 TS1M7 | |
Microsoft Windows 10 | | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro x64 | | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro 32-bit | | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise x64 | | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise 32-bit | | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro x64 | | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro 32-bit | | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise x64 | | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise 32-bit | | | 9.4 TS1M7 | |
Microsoft® Windows® for x64 | | | 9.4 TS1M7 | |
64-bit Enabled Solaris | | | 9.4 TS1M7 | |
HP-UX IPF | | | 9.4 TS1M7 | |
Linux for x64 | | | 9.4 TS1M7 | |
Solaris for x64 | | | 9.4 TS1M7 | |
SAS System | SAS Viya platform | Linux for x64 | 2020.0.4 | Stable 2024.09 | Viya platform | Viya |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2024-01-19 12:10:52 |
Date Created: | 2024-01-17 21:00:21 |