How do I retrieve a BLOB value/data (NOT segment/raw) in Valentina SQL Statement

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Oct 25 01:43:21 CDT 2007


On 25/10/07 12:36 AM, "Barry G. Sumpter" <BarrySum at BigPond.Net.AU> wrote:

> With just a simple sql query?
> 
> i.e.  no curs object
> 
> Select * from tbl
> 
> ???

Barry, 

You misunderstanding something.

In V4RB how you do SEELCT?
You do it using 

    curs = db.SqlSelect( "SELECT ... " )

So why you asking  HOW TO GET IT without cursor?
This is just impossible.

You always get cursor as result of Vdatabase.SqlSelect().


> -----Original Message-----
> From: valentina-bounces at lists.macserve.net
> [mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
> Sent: Thursday, 25 October 2007 4:46 AM
> To: valentina at lists.macserve.net
> Subject: Re: How do I retrieve a BLOB value/data (NOT segment/raw) in
> Valentina SQL Statement
> 
> On 24/10/07 8:44 PM, "Barry G. Sumpter" <BarrySum at BigPond.Net.AU> wrote:
> 
>> 
>> OK, but how do I return the value thru V4RB with a valentina SQL
> statement?
> 
>     dim fBlob as VBLOB
> 
>     curs = db.SqlSelect( query )
> 
>     fBLOB = curs.VBLOB("fldBlob")
> 
>     fBLOB.Read()

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list