Problem Note 14234: "Error: The expression is invalid because its type is incorrect. Try
setting the type to Numeric" when concatenating two character columns
with SAS/ACCESS Interface to ODBC
It is possible to receive the following error message when concatenating
two character columns with the ODBC engine.
ERROR: The expression is invalid because its type is incorrect. Try
setting the type to Numeric.
The concatenation operator can vary from database to database. As an
example, currently the ODBC engine uses the syntax of: column || column.
MySQL doesn't recognize the symbol "||" as the concatenation symbol but
considers it to be a logical OR. The concatenation syntax that it
expects is: CONCAT(column, column, ... column ).
A fix for SAS 9.1.3 (9.1 TS1M3) for this issue is available at:
http://www.sas.com/techsup/download/hotfix/e9_sbcs_prod_list.html#014234
For customers running SAS with Asian Language Support (DBCS), this
fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/e9_dbcs_prod_list.html#014234
Operating System and Release Information
SAS System | SAS/ACCESS Interface to ODBC | Microsoft Windows XP Professional | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows 2000 Server | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 | 9.1 TS1M3 SP2 |
*
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: | medium |
Date Modified: | 2005-04-27 14:39:42 |
Date Created: | 2005-01-18 13:36:39 |