06-23-2015 03:00 PM
We are getting the below Error while running the PROC SQL code using the Library which was connected to the Oracle
ERROR: Error fetching from cursor. ORACLE error is ORA-29275: partial multibyte character.
Can you please suggest
06-23-2015 03:47 PM
Below is the PROC SQL Code
CREATE TABLE GRIDWORK.VSOE_DATA
SELECT * FROM FVEPROD.VSOE_FVC_DEAL_LINE_DTLS_VW;
FVEPROD is the Libname which points to Oracle Database.
06-23-2015 04:09 PM
I googled your problem and it appears to be caused when the Oracle server language settings do not match SAS's. I would try to find out from your Oracle DBA what the NLS settings are and then compare them with SAS's.
06-23-2015 05:54 PM
As points out the issue is very likely caused by different encodings. There are a few libname options like DBSERVER_MAX_BYTES which eventually could allow you to retrieve data from Oracle in such a situation without getting an error (not sure, you have to try). SAS/ACCESS(R) 9.4 for Relational Databases: Reference, Sixth Edition
....but even if this should work it won't resolve the issue of different encodings and if Oracle is multibyte but SAS is single byte then there are simply characters which can't get properly represented. If your actual data are only English letters and the like then things could still work for you - but you'll never have a guarantee.
The only actual solution is to run SAS and Oracle in an encoding which is compatible.