SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48585: SQL queries that contain column or inline-view aliases might cause errors when executed against a database using the SAS/ACCESS® software

DetailsHotfixAboutRate It

Errors might occur when SQL queries that contain column or inline-view aliases are executed against a database using SAS/ACCESS software.

Here are some examples of the error messages that can occur:

  • ERROR: ORACLE prepare error: ORA-00904: "TXT_1"."Col1": invalid identifier.
  • ERROR: CLI describe error: [IBM][CLI Driver][DB2/AIX64] SQL0206N "A.COL1" is not valid in the context where it is used.
  • ERROR: Teradata execute: Column/Parameter 'MYUSER.TXT_1.col1' does not exist.
  • SPDS_ERROR: Unresolved reference to table/correlation name TXT_1.

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

The hot fix that is included with this SAS note corrects several issues related to implicit pass-through:

  • Using CALCULATED outside of an inline view
  • Using GROUP BY and an inline view
  • Using column alias and an inline view
  • Various other alias issues

The following are examples of errors that are corrected with this hot fix:

  • ERROR: ORACLE prepare error: ORA-00904: "TXT_1"."Col1": invalid identifier.
  • ERROR: CLI describe error: [IBM][CLI Driver][DB2/AIX64] SQL0206N "A.COL1" is not valid in the context where it is used.
  • ERROR: Teradata execute: Column/Parameter 'MYUSER.TXT_1.col1' does not exist.
  • SPDS_ERROR: Unresolved reference to table/correlation name TXT_1


Operating System and Release Information

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