About
Pricing
Community
Teams
Start Free Trial
Log in
mrong
asked on
4/13/2015
character set mismatch in Oracle
I got "ORA-12704: character set mismatch" error with the following query in Oracle. Any suggestions?
select 'Clerk1' as Clerk_Name from TBL1
union
select distinct Clerk_Name from TBL1
order by Clerk_Name;
Thanks.
Oracle Database
SQL
5
2
Last Comment
Peter Anzenberger
8/22/2022 - Mon
SOLUTION
dsacker
4/13/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
slightwv (䄆 Netminder)
4/13/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
mrong
4/13/2015
ASKER
select 'Clerk1' as Clerk_Name
*
ERROR at line 1:
ORA-12704: character set mismatch
Clerk_Name: NVARCHAR2(50)
slightwv (䄆 Netminder)
4/13/2015
Use the CAST I posted and the select from DUAL dsacker posted.
Make sure you read what I posted about the ORDER BY.
Peter Anzenberger
10/5/2016
Thank you for your example. It helped a colleague of mine a lot. He went home with a happy smile on his face.
Your help has saved me hundreds of hours of internet surfing.
fblack61
*
ERROR at line 1:
ORA-12704: character set mismatch
Clerk_Name: NVARCHAR2(50)