ORA-41400: Bind Character Set (1) Does Not Match Database Character Set (871) (Doc ID 1506516.1)

Last updated on DECEMBER 25, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 25-Dec-2016***

Symptoms

 11.2.0.3 version, Oracle RDBMS

When attempting to run the following query:
select 'alter system kill session ' || '''' || sid || ',' || serial# || '''' || ';'
from gv$session s, gv$sql sq
 where s.status = 'ACTIVE'
 and s.username = 'PIN'
 and s.last_call_et > 300
 and s.sql_address = sq.address
 and lower(sq.sql_text) not like '%rollback%'
 and lower(s.osuser) in ('xmstars1', 'xmstars2', 'xmstars3', 'xmstars4', 'xmcuwi1', 'xmcuwi2', 'xmcuwi3');

the following error occurs:
ERROR
--------
select 'alter system kill session ' || '''' || sid || ',' || serial# || '''' || ';'
*
ERROR at line 1:
ORA-12801: error signaled in parallel query server PZ93, instance pdgllpxmsdba01.corp.siriusxm.com:PPXSMS1 (1)
ORA-41400: Bind character set (1) does not match database character set (871)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms