Jump to content

Oracle data type for long text


mits

Recommended Posts

I'm a little confused here.

 

I have 3 fields in my table which require long text to be entered so the standard varchar2 isn't enough.

 

I tried the "LONG" data type but it errored saying a table can only have 1 LONG data type used.

 

Which data type do i use to cater for text for more than one column?

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/233484-oracle-data-type-for-long-text/
Share on other sites

It depends on what the text contains- if it's literally text/characters, then use a CLOB - character long object. If it's to store "files", like image data, then you should use a BLOB - binary large object. Both are really fun to work with anyway! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.