SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 18714: Using Temporary Tables to Upload and Join in a Database

DetailsAboutRate It
Temporary database table use requires two libname statements to share a
single connection to the database:

* One libname statement contains the option DBMSTEMP=YES that creates
and references the temporary table.
* The other libname statement references the database table.
* Both libname statements contain the option CONNECTION=GLOBAL, thereby
allowing one connection to be shared between two librefs to the
database.

To perform a database join with a temporary database table:

1. Establish a sharable connection using the CONNECTION=GLOBAL option to
the database.
Note: Clearing both librefs closes the global connection and drops all
database upload tables.
2. Create a database temporary table and load it with the SAS data.
3. (Optional) Run statistics on the newly-created table to allow the
optimizer to do the join more efficiently.
Note: Might need to contact the DBA for permissions.
4. Perform a join on the database.
5. Process the join result with SAS.
6. Optionally drop the temporary database table


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to SybaseMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to PC FilesMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to PeopleSoftMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to R/3Microsoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to Oracle RdbMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to OLE DBMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to OracleMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to MySQLMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to ODBCMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to InformixMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to IMS-DL/IMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to DB2 Server for VMMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to DB2Microsoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to CA-IDMSMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to CA-OpenIngresMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to BaanMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to CA-Datacom/DBMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to TeradataMicrosoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
Microsoft Windows XP Professional9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to AdabasMicrosoft Windows XP Professional9.1 TS1M2
Microsoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 TS1M2
SAS SystemSAS/ACCESS Interface to SAP BWMicrosoft Windows NT Workstation9.1 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M2
Microsoft Windows 2000 Server9.1 TS1M2
Microsoft Windows 2000 Professional9.1 TS1M2
Microsoft Windows 2000 Datacenter Server9.1 TS1M2
Microsoft Windows 2000 Advanced Server9.1 TS1M2
64-bit Enabled Solaris9.1 TS1M2
Microsoft Windows XP Professional9.1 TS1M2
z/OS9.1 TS1M2
Linux9.1 TS1M2
HP-UX IPF9.1 TS1M2
64-bit Enabled HP-UX9.1 TS1M2
OpenVMS Alpha9.1 TS1M2
64-bit Enabled AIX9.1 TS1M2
Tru64 UNIX9.1 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.