When using the DBMS Libname Option STRINGDATES=YES and PROC SQL
to create a table in which you want to insert a datetime value,
an error simliar to this will occur:
libname x odbc dsn=yyyy user=userid pwd=passwd stringdates=yes;
proc sql;
create table x.test(orderno int, customerno int, orderdate date);
insert into x.test (sasdatefmt=(orderdate='date9.'))
values(1,1,'05oct05'd);
insert into x.test (sasdatefmt=(orderdate='date9.'))
values(1,1,'25dec06'd);
insert into x.test (sasdatefmt=(orderdate='date9.'))
values(1,1,'04jul07'd);
quit;
This behavior has been identified for the ODBC, DB2 and
PCFiles engines.
| SAS System | SAS/ACCESS Interface to ODBC | Microsoft Windows XP Professional | 9.2 | | | |
| Windows Vista | 9.2 | | | |
| Microsoft Windows XP 64-bit Edition | 9.2 | | | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 | | | |
| Microsoft Windows Server 2003 Standard Edition | 9.2 | | | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 | | | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 | | | |
| Microsoft Windows 2000 Server | 9.2 | | | |
| Microsoft Windows 2000 Professional | 9.2 | | | |
| Microsoft Windows 2000 Datacenter Server | 9.2 | | | |
| Microsoft Windows 2000 Advanced Server | 9.2 | | | |
| Solaris | 9.2 | | | |
| Solaris for x64 | 9.2 | | | |
| 64-bit Enabled Solaris | 9.2 | | | |
| Linux | 9.2 | | | |
| HP-UX | 9.2 | | | |
| HP-UX IPF | 9.2 | | | |
| 64-bit Enabled HP-UX | 9.2 | | | |
| 64-bit Enabled AIX | 9.2 | | | |
| Tru64 UNIX | 9.2 | | | |
| AIX | 9.2 | | | |
| SAS System | SAS/ACCESS Interface to PC Files | Microsoft Windows XP Professional | 9.2 | | | |
| Windows Vista | 9.2 | | | |
| Microsoft Windows XP 64-bit Edition | 9.2 | | | |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 | | | |
| Microsoft Windows Server 2003 Standard Edition | 9.2 | | | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 | | | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 | | | |
| Microsoft Windows 2000 Server | 9.2 | | | |
| Microsoft Windows 2000 Professional | 9.2 | | | |
| Microsoft Windows 2000 Datacenter Server | 9.2 | | | |
| Microsoft Windows 2000 Advanced Server | 9.2 | | | |
| Solaris | 9.2 | | | |
| Solaris for x64 | 9.2 | | | |
| 64-bit Enabled Solaris | 9.2 | | | |
| Linux | 9.2 | | | |
| HP-UX | 9.2 | | | |
| HP-UX IPF | 9.2 | | | |
| 64-bit Enabled HP-UX | 9.2 | | | |
| 64-bit Enabled AIX | 9.2 | | | |
| Tru64 UNIX | 9.2 | | | |
| AIX | 9.2 | | | |
| SAS System | SAS/ACCESS Interface to DB2 | Microsoft Windows XP Professional | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows XP 64-bit Edition | 9.2 | | | 9.2 TS1M0 |
| Windows Vista | 9.2 | | | 9.2 TS1M0 |
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Standard Edition | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Enterprise Edition | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows Server 2003 Datacenter Edition | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows 2000 Server | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows 2000 Professional | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows 2000 Datacenter Server | 9.2 | | | 9.2 TS1M0 |
| Microsoft Windows 2000 Advanced Server | 9.2 | | | 9.2 TS1M0 |
| Solaris | 9.2 | | | 9.2 TS1M0 |
| Solaris for x64 | 9.2 | | | 9.2 TS1M0 |
| 64-bit Enabled Solaris | 9.2 | | | 9.2 TS1M0 |
| Linux | 9.2 | | | 9.2 TS1M0 |
| HP-UX | 9.2 | | | 9.2 TS1M0 |
| HP-UX IPF | 9.2 | | | 9.2 TS1M0 |
| 64-bit Enabled HP-UX | 9.2 | | | 9.2 TS1M0 |
| 64-bit Enabled AIX | 9.2 | | | 9.2 TS1M0 |
| Tru64 UNIX | 9.2 | | | 9.2 TS1M0 |
| AIX | 9.2 | | | 9.2 TS1M0 |