Question: What do
I do to store emoticons in Oracle? I have a column
defined as VARCHAR2(255) and I want to store the emoticons
in this column. What do I do to represent emoticons in
an Oracle table?
My application is storing the emoji's correctly, but I
getting a ????? when I try to display the emoticon values in
SQL*Developer. How do I see the actual values stored
in the Oracle table?
Answer: Oracle normally uses a CLOB column
datatype for emoticons and uses the dbms_lob procedure to
store the emoticons in the table. However, the
emoticons are interpreted as follows, so just store the
values in a VARCHAR2 columns.
You can see the actual values stored in the Oracle table
by using SQL*Plus. For example, the string :) will be
interpreted as a smiley face emoticon. SQL*Developer
will not perform this translation and you get the unknown
string display of "???????".
You can also store strings as emoticons using these
:) :( :P
As we see, the emoticons are stored as normal character
strings and the images are translated automatically by the
front-end application, changing the characters into the
Oracle Training from Don Burleson
The best on site
training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!
Burleson is the American Team
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
and include the URL for the page.
Copyright © 1996 - 2016
All rights reserved by
is the registered trademark of Oracle Corporation.