Problem Note 61399: A "Syntax error or access violation" occurs when you use nested functions and a WHERE clause
In SAS® Federation Server 4.2, you might see the following unexpected message when fetching data from a view:
Syntax error or access violation
This issue occurs under the following conditions:
- The view contains a CAST function operating on the result of an SQL function (SUBSTRING function for example).
- The SELECT statement uses a WHERE clause to filter the results of the view.
The error does not occur if CAST operates on a column, or if your SELECT statement does not contain a WHERE clause.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Federation Server | Microsoft® Windows® for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows 10 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Professional x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
64-bit Enabled AIX | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
64-bit Enabled Solaris | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
HP-UX IPF | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Linux for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
Solaris for x64 | 4.2 | 4.2 | 9.4 TS1M4 | 9.4 TS1M4 |
*
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: | 2017-11-14 11:50:30 |
Date Created: | 2017-11-13 08:54:40 |