Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Storing/Accessing GIF Files in Oracle
Hello John!
John Schuerman пишет в сообщении <37BD7630.932788B8_at_NOSPAM.mgic.com> ...
>I'm using Oracle 7.3.3.4 and have been asked to research storing GIF
>files in the Oracle database.
>1. Is this do-able in Oracle7?
Yes. But You need to create additional C-code (like /opt/oracle7/rdbms/demo/cdemo3.c in my case)
>2. Is the only DATATYPE option the LONG RAW datatype?
You can use also RAW datatype for small pictures
>3. Would it be better to store a "location pointer" in the database and
>actually store the GIF file in a directory. The application that plans
IMHO this way keeps many potential problems - e.g. broken files. Also You'll have got additional problems for backup such separate files
>Any help would be greatly appreciated. Thank You.
>
HTH Rgds, Vadim Grepan