Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to convert varchar(4000) to long in oracle

user620760Dec 17 2013 — edited Dec 17 2013

Hi All,

I have a view which have a column

create view ABC as

select

EXECUTIVE_SUMMARY

from table EXECUTIVE;

The datatype is varchar2(4000 byte).

this column contain some special character

so when i try to insert its record into a table

using

create table try as select * from EXECUTIVE;

its through an error Actual value in EXECUTIVE_SUMMARY is 4006 where the column is 4000

Please suggest me how i can cast this column to LONG type in this view defination.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2014
Added on Dec 17 2013
3 comments
4,691 views