Home » SQL & PL/SQL » SQL & PL/SQL » Inserting copyright symbol in oracle.
Inserting copyright symbol in oracle. [message #48628] Sun, 05 December 2004 20:45 Go to next message
Ankur
Messages: 22
Registered: August 2000
Junior Member
Hi,

Can somebody tell me, how to insert symbols like copyright or TM ‘ ‘ or other registered symbols.

Thanks

Ankur
Re: Inserting copyright symbol in oracle. [message #48632 is a reply to message #48628] Mon, 06 December 2004 01:58 Go to previous messageGo to next message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
use ascii() function to get the ascii code for the required symbol.
then use chr() to get the char back.

ex:
select ascii('®') from dual;
-- 174

now u can use chr(174) whereever u required ®.

by
vamsi
Re: Inserting copyright symbol in oracle. [message #48634 is a reply to message #48632] Mon, 06 December 2004 07:33 Go to previous messageGo to next message
Jon
Messages: 483
Registered: May 2001
Senior Member
Correct, since the question asked about symbols in general. It also asked about the copyright symbol specifically, which is 169. 174 is the registered symbol.
Re: Inserting copyright symbol in oracle. [message #48642 is a reply to message #48634] Mon, 06 December 2004 19:20 Go to previous message
vamsi kasina
Messages: 2112
Registered: October 2003
Location: Cincinnati, OH
Senior Member
u r right. i have given an example.

by
vamsi
Previous Topic: Usage of GUID/UUID as PKEY
Next Topic: What is a foreign key?
Goto Forum:
  


Current Time: Mon Aug 04 00:02:28 CDT 2025