SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20199: The same query produces different results when submitted using the Pass-Through Facility in SAS/ACCESS® Interface to Teradata and using Teradata BTEQ

DetailsHotfixAboutRate It

When you submit a query using the SQL Procedure Pass-Through Facility in SAS/ACCESS Interface to Teradata, the results in SAS might not be the same as the results from the same query when submitted using Teradata BTEQ.

When a column is not selected in SAS but is selected in Teradata, SAS will bypass that column. SAS also fails to bypass the NULL indicator that goes with that column.

As a result, if a NULL column is not selected followed by a NOT-NULL column that is selected, the NOT-NULL column will be treated as NULL.

To work around this behavior, the Pass-Through select list must match the select list in SAS, if any of the columns are NULLABLE.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to TeradataMicrosoft Windows XP Professional9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP49.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP49.1 TS1M3 SP4
* 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.