PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Fred Cathey <fcathey at advtech dot uswest dot com>
Subject: Re: Image Data
Date: Jul 29 1999 7:33PM

Sorry, I didn't make myself very clear.  I need to copy an image field from
one database to another.  Using DBlib, I use readtext to get the data in an
array.  When I try using writetext to insert it in the other database, I
get an error stating it can't find the datastream.
Thanks

Michael Peppler wrote:

> Fred Cathey writes:
>  > Is it possible using perl to copy image data?  I've tried makeing
>  > variables but sybase complains about not being able to find the data
>  > stream.
>
> Sure.
>
> Do you want to store the image in the db, or fetch it? You should look
> at ct_send_data/ct_get_data() if you are using Sybase::CTlib, or
> dbwritetext() if you are using Sybase::DBlib.
>
> Michael
> --
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
> Int. Sybase User Group  -||-  http://www.isug.com
> Sybase on Linux mailing list: ase-linux-list@isug.com