troubleshooting Question

Oracle CHR(164) to VARCHAR(10)

Avatar of Phil5780
Phil5780 asked on
Oracle Database
3 Comments1 Solution1153 ViewsLast Modified:
I'm experienced in SQL Server but new to Oracle.  I've created a Oracle XE 11G database, table and inserted several records successfully.  But I'm unable to insert extended characters as shown below.  My column's datatype is VARCHAR(2000) but I get the error 'ORA-01722: invalid number' upon attempting to CAST CHR() to VARCHAR.  What am I missing here?

insert into tblThreadContent
('Regular text followed by an extended character, with space ' + cast(chr(164) as varchar(10)))
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros