Re: I want to store a .jpeg file in a table - Mailing list pgsql-odbc

From Henshall, Stuart - WCP
Subject Re: I want to store a .jpeg file in a table
Date
Msg-id E2870D8CE1CCD311BAF50008C71EDE8E01F748B5@MAIL_EXCHANGE
Whole thread Raw
In response to I want to store a .jpeg file in a table  ("Inacio dsilva" <inacio21@hotmail.com>)
List pgsql-odbc

Hello,
        In the ODBC driver options there is a setting for Max LongVarChar.
Try increasing this:)
hth,
- Stuart

-----Original Message-----
From: Inacio dsilva [mailto:inacio21@hotmail.com]
Sent: 20 May 2002 09:27
To: pgsql-odbc@postgresql.org
Subject: I want to store a .jpeg file in a table

hi,
 
I'd like to know how to store a file a table and also which datatype is used for this? I'm using VC++ on windows and SQL ODBC API functions to connect to the database and get information. I have tried using the datatype "bytea" but this has a size limitation of 8190 characters. In MS Access and SQL 7.0 there are datatypes of type SQL_LONGVARBINARY. Is there a similar datatype in postgresql ?

 
Thanks.

Send and receive Hotmail on your mobile device: Click Here

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Compiler warnings in current code
Next
From: Kristis Makris
Date:
Subject: Re: Compiler warninnoop