Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle Equivalent of MySQL's TEXT type

Does Oracle have an equivalent column type to MySQL's TEXT type?

If not, how are larger blobs of text typically stored? BLOB, varchar(32767)? It's Oracle 10 being accessed via PHP, if it matters. Historical context is more than welcome.

like image 447
Alan Storm Avatar asked Jul 24 '09 21:07

Alan Storm


1 Answers

Oracle has BLOB, CLOB and NCLOB for storing binary, character and unicode character data types. You can also specify the LOB storage area which allows a DBA to fine tune the storage if necessary (i.e. putting the LOB data on separate disks)

This page gives a bit more info: http://www.dba-oracle.com/t_blob.htm

like image 127
MarcE Avatar answered Sep 19 '22 19:09

MarcE