This section covers methods for creating and working with tables using the Oracle Multimedia data types. Further information on each of the types can be found in Appendix E, Loading and Reading.
As the ORDSYS Multimedia types reference ORDSYS.ORDSOURCE
, which in turn references a BLOB, the database administrator has the option of specifying all the storage parameters for each of the columns. For example, the table created looks like the following:
create table myimage( pk number, myphoto ORDSYS.ORDIMAGE, myvideo ORDSYS.ORDVIDEO )
The resulting storage parameters would like like the following:
create table myimage ( pk number, myphoto ORDSYS.ORDIMAGE, myvideo ORDSYS.ORDVIDEO ) tablespace relational_tbls pctfree 5 storage( pctincrease 0 maxextents unlimited) LOB (myphoto.source.localdata) STORE AS SECUREFILE l_myphoto (TABLESPACE image_tbls disable storage in row RETENTION AUTO NOCOMPRESS KEEP_DUPLICATES...