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!

ORA-00932: inconsistent datatypes

593328Oct 2 2007 — edited Jun 16 2010
PER_PERIODS_OF_SERVICE
comments long


select substr(comments,1,50) from PER_PERIODS_OF_SERVICE


How can i get only 50 charectors from a long?

when i try this i got

ORA-00932: inconsistent datatypes: expected CHAR got LONG
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 14 2010
Added on Oct 2 2007
4 comments
13,647 views