SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62366: A data integrity issue occurs after you query an Oracle view with an Oracle 12.1.0.2 server or a later server version

DetailsHotfixAboutRate It

You might observe a data integrity issue in a SAS® program query to an Oracle view.

The issue occurs when all of the following are true:

  • The Oracle server is 12.1.0.2 or a later version.
  • The SAS query accesses an Oracle view.
  • The SAS query contains a WHERE clause regarding a character column in the Oracle view.
  • The WHERE clause is an equality comparison (for example, WHERE string = 'value').
  • The length of the value is less than the length of the Oracle column.
  • PROC SQL is used with Oracle librefs.

No errors or warnings indicate any problem. The only indication is unexpected data returned to SAS. For example, you might expect to see "value" but see "value       €Y@" instead.

There are no practical workarounds, but one of the following actions might help:

  • Revert to an earlier version of the Oracle server.
  • Change the SAS query to use either an explicit Structured Query Language (SQL) pass-through facility or a DATA step.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to Oraclez/OS9.49.439.4 TS1M09.4 TS1M6
Microsoft® Windows® for x649.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 8 Enterprise x649.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 8 Pro x649.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 8.1 Enterprise 32-bit9.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 8.1 Enterprise x649.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 8.1 Pro 32-bit9.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 8.1 Pro x649.49.439.4 TS1M09.4 TS1M6
Microsoft Windows 109.49.439.4 TS1M09.4 TS1M6
Microsoft Windows Server 2008 R29.49.4 TS1M0
Microsoft Windows Server 2008 for x649.49.4 TS1M0
Microsoft Windows Server 2012 Datacenter9.49.439.4 TS1M09.4 TS1M6
Microsoft Windows Server 2012 R2 Datacenter9.49.439.4 TS1M09.4 TS1M6
Microsoft Windows Server 2012 R2 Std9.49.439.4 TS1M09.4 TS1M6
Microsoft Windows Server 2012 Std9.49.439.4 TS1M09.4 TS1M6
Windows 7 Enterprise x649.49.439.4 TS1M09.4 TS1M6
Windows 7 Professional x649.49.439.4 TS1M09.4 TS1M6
64-bit Enabled AIX9.49.439.4 TS1M09.4 TS1M6
64-bit Enabled Solaris9.49.439.4 TS1M09.4 TS1M6
HP-UX IPF9.49.439.4 TS1M09.4 TS1M6
Linux for x649.49.439.4 TS1M09.4 TS1M6
Solaris for x649.49.439.4 TS1M09.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.