Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8629537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:50:06+00:00 2026-06-12T08:50:06+00:00

My understanding is Long data type can store the actual string(chars), while Long raw

  • 0

My understanding is Long data type can store the actual string(chars), while Long raw data type stores the binary values of the string(chars). Is it right? Can a table have only one long type column?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T08:50:08+00:00Added an answer on June 12, 2026 at 8:50 am

    The data types are described in the documentation; LONG is explained here (or the 11gR2 version):

    LONG columns store variable-length character strings containing up to
    2 gigabytes -1, or 231-1 bytes. LONG columns have many of the
    characteristics of VARCHAR2 columns. You can use LONG columns to store
    long text strings.

    And LONG RAW is here:

    The RAW and LONG RAW datatypes store data that is not to be
    interpreted (that is, not explicitly converted when moving data
    between different systems) by Oracle Database. These datatypes are
    intended for binary data or byte strings. For example, you can use
    LONG RAW to store graphics, sound, documents, or arrays of binary
    data, for which the interpretation is dependent on the use.

    So a RAW or LONG RAW can contain the binary representation of characters, but won’t be subject to character set conversion etc. so probably isn’t all that useful for that; an can contain any other binary data – anything that isn’t supposed to represent text.

    From the same LONG section:

    A table can contain only one LONG column.

    However, LONG is deprecated in favour of LOB (CLOB or NCLOB for text, BLOB for everything else), so you shouldn’t be using them for new work, and should at least be considering replacing any you already have. Again from that same section on LONG:

    Do not create tables with LONG columns. Use LOB columns (CLOB, NCLOB,
    BLOB) instead. LONG columns are supported only for backward
    compatibility.

    Oracle also recommends that you convert existing LONG columns to LOB
    columns.

    This documentation on migrating from LONG to LOB might be of interest.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble understanding this code: static long long _be_decode_int(const char **data, long
I am a long-time Mac user looking to gain a decent understanding of Windows.
I would be greatful for help, understanding how long it takes to establish a
For understanding how strong data should be secured on an Android device I want
I am having a difficult time understanding two design approaches in terms of long
I'm trying to pullout values from a uint8_t array. But I'm having troubles understanding
There are a few things I need help understanding. Long story short: Client has
It was my understanding that <script type=text/javascript src=//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js></script> <script type=text/javascript> $(document).bind('mobileinit', function () {
In backbone.js, my understanding of communication with the server to retrieve data is cloudy
Understanding Magento Models by reference of SQL: select * from user_devices where user_id =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.