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

(Doc ID 1506516.1)

Last updated on NOVEMBER 28, 2017

Applies to:

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

Symptoms 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:
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)


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