How to convert from long to varchar2?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • osman7king
    New Member
    • Sep 2010
    • 61

    How to convert from long to varchar2?

    I have a column in a table with long datatype
    and I want to convert all values in this column to varchar2 'no problem if the data been truncated on 4000 characters of length'.

    may someone help me??

    best regards..
    osman
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Better to use CLOB instead of using varchar data type.

    Comment

    • amitpatel66
      Recognized Expert Top Contributor
      • Mar 2007
      • 2358

      #3
      if that is custom table then not to use LONG data type and convert that to CLOB.

      Check Ask Tom

      Comment

      Working...