SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 44190: Unicode server performance is degraded when character literals in a WHERE clause are not passed to a database correctly

DetailsHotfixAboutRate It

A SAS Unicode server accessing a third-party database using the SAS/ACCESS® software might convert character literals in WHERE clauses to hexadecimal strings before passing the query to the database. This issue occurs when the characters or signs used in the literal in the WHERE predicate are not standard English (7-bit ASCII). The resulting poor performance occurs because the query is rejected by the database and, subsequently, the data is read into SAS and processed there.

Here is an example:

PROC SQL; SELECT count(*) FROM dblib.dbtable WHERE dbtable.dbcolumn = 'æøå'; /* Unicode literal */ QUIT;
SELECT COUNT(*) from DBTABLE where "DBCOLUMN" = 'C3A6C3B8C3A5'x
A correct result set is produced, but the query might perform poorly.

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

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M39.3 TS1M1
Microsoft Windows XP 64-bit Edition9.2 TS2M39.3 TS1M1
Microsoft® Windows® for x649.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Standard Edition9.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 for x649.2 TS2M39.3 TS1M1
Microsoft Windows Server 20089.2 TS2M39.3 TS1M1
Microsoft Windows Server 2008 for x649.2 TS2M39.3 TS1M1
Microsoft Windows XP Professional9.2 TS2M39.3 TS1M1
Windows 7 Enterprise 32 bit9.2 TS2M39.3 TS1M1
Windows 7 Enterprise x649.2 TS2M39.3 TS1M1
Windows 7 Home Premium 32 bit9.2 TS2M39.3 TS1M1
Windows 7 Home Premium x649.2 TS2M39.3 TS1M1
Windows 7 Professional 32 bit9.2 TS2M39.3 TS1M1
Windows 7 Professional x649.2 TS2M39.3 TS1M1
Windows 7 Ultimate 32 bit9.2 TS2M39.3 TS1M1
Windows 7 Ultimate x649.2 TS2M39.3 TS1M1
Windows Vista9.2 TS2M39.3 TS1M1
Windows Vista for x649.2 TS2M39.3 TS1M1
64-bit Enabled AIX9.2 TS2M39.3 TS1M1
64-bit Enabled HP-UX9.2 TS2M39.3 TS1M1
64-bit Enabled Solaris9.2 TS2M39.3 TS1M1
HP-UX IPF9.2 TS2M39.3 TS1M1
Linux9.2 TS2M39.3 TS1M1
Linux for x649.2 TS2M39.3 TS1M1
OpenVMS on HP Integrity9.2 TS2M39.3 TS1M1
Solaris for x649.2 TS2M39.3 TS1M1
* 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.