dbTalk Databases Forums  

Blob size from SQL

comp.databases.informix comp.databases.informix


Discuss Blob size from SQL in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Fernando Nunes
 
Posts: n/a

Default Re: Blob size from SQL - 03-01-2011 , 05:29 PM






Meanwhile, did you try the information I posted? It helped the person asking
for this at the time...
Also, I think I'm missing something... You're looking for blob length()= 0,
but you mentioned that SELECT ... FROM table WHERE blob_column IS NULL will
not solve the problem.
At this moment I cannot see why?

Regards.

On Tue, Mar 1, 2011 at 10:54 PM, pretzel <davidegrove (AT) gmail (DOT) com> wrote:

Quote:
As expected, tech support confirms the inability of Informix to learn
the size of a blob from SQL.

The thing that surprised me, though, was that we went back-and-forth a
few times trying stuff. This issue seems like something tech support
should have just immediately known, without me having to try stuff and
report back.

I did make a request for enhancement. But, after 10 years of these
kinds of questions (searching cdi), I gotta think IDS developers have
long decided to disregard the issue.

DG
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list



--
Fernando Nunes
Portugal

http://informix-technology.blogspot.com
My email works... but I don't check it frequently...

Reply With Quote
  #12  
Old   
pretzel
 
Posts: n/a

Default Re: Blob size from SQL - 03-01-2011 , 05:43 PM






Quote:
On Mar 1, 2:29*pm, Fernando Nunes <domusonl... (AT) gmail (DOT) com> wrote:
Meanwhile, did you try the information I posted? It helped the person asking
for this at the time...

Thank you, Mr. Nunes. I am in process of implementing it. I tried it
VERY quick and dirty, by attempting to use the precompiled blade, but
didn't work. I'm thinking, based on the error message (couldn't find
a library file) that it may be due to a dependency on a library object
from the Sun C compiler, which we don't have. So, now, I'm taking the
more scenic route and getting gcc (which wasn't on this machine), and
recompiling, etc.


Quote:
Also, I think I'm missing something... You're looking for blob length()= 0,
but you mentioned that SELECT ... FROM table WHERE blob_column IS NULL will
not solve the problem.
At this moment I cannot see why?
I don't represent myself as an expert, so could be totally full of
beans. But, my hunch is that the blob column isn't empty, but, in
fact, has a proper blob handle (meaning, it is properly not NULL).
It's just that the blob to which the handle points has zero length.
I'm guessing that it could have gotten that way by execution of an SQL
"INSERT filetolo(<filename>... ) ..." with an empty file supplied as
the argument.

Anyway, I'm going to try the blade.

Thank you, once again.

DG

Reply With Quote
  #13  
Old   
pretzel
 
Posts: n/a

Default Re: Blob size from SQL - 03-02-2011 , 02:00 PM



Got this from tech support:

"I was following up on your request to extend the LENGTH()
functionality to BLOBs and CLOBs, but is so happens that there is one
Feature Request for that matter already, and we hope to see that
implemented in future releases"

DG

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.