🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #374

How can I read a byte-value from a database-field

#374
From: Lehmann
Date: Mon, 27 Nov 2000 00:00
12 lines
907 bytes
Hallo,

i have the following problem:

I will read out a *.gif file, which is saved in a sybase-db, and save this
in a folder on my harddisk. The GIF-file is saved in the long-byte-format in
my database.
Which methods must I use to read this file out from my database via a
ODBC-conection an save this on my harddisk via an outputstream.
Can anybody help me?

Thanks Mike
Technical Details
Message-ID: <8vtk77$5mj2d$1@ID-61170.news.dfncis.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,3bf11cd2dcbf49ec,start
X-Google-Attributes: gid10d6db,public
From: "Lehmann" <lehmann@i-broker.de>
Subject: How can I read a byte-value from a database-field
Date: 2000/11/27
Message-ID: <8vtk77$5mj2d$1@ID-61170.news.dfncis.de>
X-Deja-AN: 698214680
X-Trace: fu-berlin.de 975328300 5983309 62.153.200.250 (16 [61170])
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: aus.computers.java
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400