SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 40911: Do not use reserved words in dimension names when working with external aggregations

DetailsHotfixAboutRate It

Some relational database management systems (RDBMS) have reserved words that can affect how the SQL that is generated by the SAS® OLAP Server is handled. For example, Teradata reserves the word "TIME." If the word "TIME" is used as the dimension name, the SAS OLAP Server generates SQL that is similar to the following:

select distinct Time.Year, Item.Department, sum(FACT.StockOnHand) 
  from TERADATA.FactTable FACT, 
       TERADATA.TIMEPERIOD Time,
       TERADATA.ITEMS Item 
  where FACT.Date_Id=Time.DATE_ID and
        FACT.Item_Id=Item.Item_Id 
  group by Time.Year, Item.Department 
  having count(*) gt 0

Because the table reference used the reserved word "TIME," the SQL query does not pass directly to the RDBMS. Instead, all of the data is returned to SAS for local processing.

Select 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 SystemSAS OLAP ServerMicrosoft Windows 2000 Server9.1 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M09.3 TS1M0
z/OS9.1 TS1M09.3 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M0
Microsoft Windows NT Workstation9.1 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M09.3 TS1M0
Microsoft Windows XP Professional9.1 TS1M09.3 TS1M0
64-bit Enabled AIX9.1 TS1M09.3 TS1M0
64-bit Enabled HP-UX9.1 TS1M09.3 TS1M0
64-bit Enabled Solaris9.1 TS1M09.3 TS1M0
HP-UX IPF9.1 TS1M09.3 TS1M0
Linux9.1 TS1M09.3 TS1M0
OpenVMS Alpha9.1 TS1M09.3 TS1M0
Tru64 UNIX9.1 TS1M09.3 TS1M0
* 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.