Jump to content

Archived

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

mits

Oracle data type for long text

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

Share this post


Link to post
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! :)

Share this post


Link to post
Share on other sites

×
×
  • 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.