Usage Note 6997: The PROC SQL limit on values that a Hash Join will generate for an IN
clause has been raised from 200 to 1024
If you use the LIBNAME access engine to join a DBMS table with a SAS
data set and there are 200 or fewer unique values in the SAS data set,
the values are passed to the DBMS for processing using an IN clause. If
the number of unique values is greater than 200, then SAS will not pass
them to the DBMS, and performance may be degraded.
This number of values has increased to 1024 for SAS 8.2. This allows
larger IN clauses to be generated using up to 1024 values, unless the
database has a smaller limit. If the database does have a smaller limit,
you may encounter database errors similar to the following:
ERROR: Error in result set. Error Code: -404 Too many ANDs or ORs in
expression (limit 250 per expression level). Try splitting query or
expression (limit 250 per expression level).
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#006997
For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#006997
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to Sybase | Solaris | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 8 TS M0 | 8.2 TS2M0 |
| ABI+ for Intel Architecture | 8 TS M0 | 8.2 TS2M0 |
| IRIX | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 8 TS M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 8 TS M0 | 8.2 TS2M0 |
| HP-UX | 8 TS M0 | 8.2 TS2M0 |
| Tru64 UNIX | 8 TS M0 | 8.2 TS2M0 |
| AIX | 8 TS M0 | 8.2 TS2M0 |
*
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: | Usage Note |
| Priority: | |
| Topic: | SAS Reference ==> LIBNAME Engines Data Management ==> Data Sources ==> External Databases ==> Sybase
|
| Date Modified: | 2006-04-14 10:52:02 |
| Date Created: | 2002-02-26 15:33:53 |