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
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
SAS System | SAS/ACCESS Interface to Teradata | Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP4 | 9.1 TS1M3 SP4 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP4 | 9.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.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> Procedures ==> ACCESS
|
Date Modified: | 2008-03-07 14:31:28 |
Date Created: | 2007-05-14 11:27:42 |