Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to handle Image - Data?

2 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-07-30 21:17:39.0Z
Matthias Jakob Posted on 1997-06-02 20:06:20.0Z
Message-ID: <339327BC.71A1@Dive.Informatik.FH-Schmalkalden.de>
Date: Mon, 02 Jun 1997 22:06:20 +0200
From: Matthias Jakob <Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de>
Reply-To: Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de
Organization: FH-Schmalkalden
X-Mailer: Mozilla 3.01Gold (WinNT; I)
MIME-Version: 1.0
Subject: How to handle Image - Data?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 7
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:755
Article PK: 252508

Hi there!


I would like to handle image data (image datatyp, SQL Server 11.0).

In the SQL reply I get something like "32499080393423", what can I do?

(I've never handled image data)




Thank you very mutch.

Matthias


David Clegg Posted on 1997-07-30 21:17:39.0Z
Message-ID: <33DFAF73.2F22246F@sybase.com>
Date: Wed, 30 Jul 1997 14:17:39 -0700
From: David Clegg <davec@sybase.com>
X-Mailer: Mozilla 3.01 (X11; I; Linux 1.2.13 i586)
MIME-Version: 1.0
To: Matthias.Jakob@Dive.Informatik.FH-Schmalkalden.de
Subject: Re: How to handle Image - Data?
References: <339327BC.71A1@Dive.Informatik.FH-Schmalkalden.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 12
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:436
Article PK: 252188


Matthias Jakob wrote:
>
> Hi there!
>
> I would like to handle image data (image datatyp, SQL Server 11.0).
>
> In the SQL reply I get something like "32499080393423", what can I do?
>
> (I've never handled image data)
>
> Thank you very mutch.
>
> Matthias

To select image data, use the getBytes() or getBinaryStream() methods
on ResultSet. To insert image data use the setBytes() or
setBinaryStream() methods of PreparedStatement.

dave