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.

Inserting image to ultralite for ios development

2 posts in Ultralite Last posting was on 2011-08-24 21:22:22.0Z
Felice Posted on 2011-07-14 09:58:50.0Z
Sender: 3ed8.4e1ebc70.1804289383@sybase.com
From: Felice
Newsgroups: sybase.public.sqlanywhere.ultralite
Subject: Inserting image to ultralite for ios development
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4e1ebdda.3efd.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 14 Jul 2011 02:58:50 -0700
X-Trace: forums-1-dub 1310637530 10.22.241.41 (14 Jul 2011 02:58:50 -0700)
X-Original-Trace: 14 Jul 2011 02:58:50 -0700, 10.22.241.41
Lines: 9
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12558
Article PK: 1048336

Hi!
I am trying to insert an image to ultralite 12 and I am
having issues in doing so. The image data is stored as a
long binary data type and I am struggling on how to insert
this data since I need to convert it to ul_binary data type,
which is the only mechanism to store such data type in
ultralite.

Thx in advance!


Tim McClements [Sybase] Posted on 2011-08-24 21:22:22.0Z
From: "Tim McClements [Sybase]" <mcclemenXnospam@sybase.com>
Newsgroups: sybase.public.sqlanywhere.ultralite
References: <4e1ebdda.3efd.1681692777@sybase.com>
Subject: Re: Inserting image to ultralite for ios development
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4e556b8e$1@forums-1-dub>
Date: 24 Aug 2011 14:22:22 -0700
X-Trace: forums-1-dub 1314220942 10.22.241.152 (24 Aug 2011 14:22:22 -0700)
X-Original-Trace: 24 Aug 2011 14:22:22 -0700, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.sqlanywhere.ultralite:12578
Article PK: 1048343

You don't have to use ul_binary. You can use the AppendByteChunk() method
instead.
If you have further questions about this, please post.

- Tim

<Felice> wrote in message news:4e1ebdda.3efd.1681692777@sybase.com...
> Hi!
> I am trying to insert an image to ultralite 12 and I am
> having issues in doing so. The image data is stored as a
> long binary data type and I am struggling on how to insert
> this data since I need to convert it to ul_binary data type,
> which is the only mechanism to store such data type in
> ultralite.
>
> Thx in advance!