Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Insert bitmaps into database ?

Re: Insert bitmaps into database ?

From: Karen Abgarian <karen.abgarian_at_fmr.com>
Date: Thu, 19 Aug 1999 14:51:24 -0400
Message-ID: <37BC522B.ABF4D160@fmr.com>


Hi

Bitmaps should be stored in LONG RAW columns, not in LONGs. To insert them you need to get the hex string representing a bitmap. Then INSERT it like this: insert into tab values('AB233D3E').

Otherwise use DBMS_SQL package or even OCI, there are ways to manipulate longs.

Hope this helps
Karen Abgarian.

Magnus S. Petersen wrote:

> Using PO7 and Delphi 3 C/S
> How would one insert a bitmap into a column(LONG) of a table, using standard
> SQL syntax
> INSERT INTO Table
> (column1,column2,LongColumn)
> VALUES
> (colvalue1,colvalue2,TheBitmap);
> I have some bitmaps which i want to insert, but cannot figure out how to do
> it.
> Please advice
>
> Regards
> Magnus
Received on Thu Aug 19 1999 - 13:51:24 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US