Problem Note 62273: An error is returned by the Database Management System (DBMS) when you use a WHERE clause or WHERE statement to subset a DBMS table
When you use a WHERE clause or WHERE statement to subset a DBMS table, an error might be returned by the DBMS. The actual error received differs depending on the DBMS.
You encounter this issue when you code the WHERE clause or statement similar to the following:
WHERE varname > ''
The query that is passed to the DBMS includes incorrect syntax similar to the following:
WHERE ("VARNAME" > ' ' "VARNAME" IS NULL)
The workaround is to code the WHERE clause or statement similar to the following:
WHERE varname is not null
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
z/OS 64-bit | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft® Windows® for x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 8 Enterprise x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 8 Pro x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 8.1 Enterprise x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 8.1 Pro 32-bit | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 8.1 Pro x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows 10 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows Server 2008 R2 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows Server 2008 for x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows Server 2012 Datacenter | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows Server 2012 R2 Std | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Microsoft Windows Server 2012 Std | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Windows 7 Enterprise x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Windows 7 Professional x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
64-bit Enabled AIX | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
64-bit Enabled Solaris | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
HP-UX IPF | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Linux for x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
Solaris for x64 | 9.4 | 9.4_M2 | 9.4 TS1M0 | 9.4 TS1M2 |
*
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: | 2018-06-04 08:54:44 |
Date Created: | 2018-05-04 14:35:44 |