Unix Technical Forum

How to Handle BLOBs via ODBC ?

This is a discussion on How to Handle BLOBs via ODBC ? within the Informix forums, part of the Database Server Software category; --> Hi, i need to store "files" (.doc, .pdf, etc.) in an informix database, the scenario is: production enviroment: IBM ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 01:25 PM
eferreyra
 
Posts: n/a
Default How to Handle BLOBs via ODBC ?

Hi, i need to store "files" (.doc, .pdf, etc.) in an informix database,
the scenario is:

production enviroment: IBM Informix Dynamic Server Version 7.31.FD8 on
SunOS 5.9
development enviroment: IBM Informix Dynamic Server Version 9.40.UC7 on
Red Hat Enterprise Linux 2.6.9-5.ELsmp

Applications acces via ODBC to this databases, i try send FILETOBLOB
function but always get an "Not implemented yet" message, via JDBC
works, but is not an option (applications are Clarion 5.0 made)

Some suggestion ?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 01:25 PM
Marco Greco
 
Posts: n/a
Default Re: How to Handle BLOBs via ODBC ?

eferreyra wrote:
> Hi, i need to store "files" (.doc, .pdf, etc.) in an informix database,
> the scenario is:
>
> production enviroment: IBM Informix Dynamic Server Version 7.31.FD8 on
> SunOS 5.9
> development enviroment: IBM Informix Dynamic Server Version 9.40.UC7 on
> Red Hat Enterprise Linux 2.6.9-5.ELsmp
>
> Applications acces via ODBC to this databases, i try send FILETOBLOB
> function but always get an "Not implemented yet" message, via JDBC
> works, but is not an option (applications are Clarion 5.0 made)
>
> Some suggestion ?


Well, although I'm sure you are getting the -999 on your development
environment, and thus the next comment does not apply (yet), I thought I'd
save you a considerable amount of wasted time anyhow - smartblobs are not a
feature of 7.

In general it is a good idea to have development, test and production
environment on at least comparable versions.

As for the -999 on ODBC vs no error on JDBC, I'd say that the argument list
you are passing to FILETOBLB differs in the two cases, but it's hard to point
you in the right direction without seeing some hard SQL. Not that I'm asking
to see some, if you see what I mean...


--
Ciao,
Marco
__________________________________________________ ____________________________
Marco Greco /UK /IBM Standard disclaimers apply!

Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
4glworks http://www.4glworks.com
Informix on Linux http://www.4glworks.com/ifmxlinux.htm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 01:25 PM
eferreyra
 
Posts: n/a
Default Re: How to Handle BLOBs via ODBC ?

ok, thats why i put the ids 7 version in the mail.

Now how i can handle the storing of files in IDS 7 via ODBC ?

Or should i use other DBMS ?

E. Ferreyra


Marco Greco ha escrito:

> eferreyra wrote:
> > Hi, i need to store "files" (.doc, .pdf, etc.) in an informix database,
> > the scenario is:
> >
> > production enviroment: IBM Informix Dynamic Server Version 7.31.FD8 on
> > SunOS 5.9
> > development enviroment: IBM Informix Dynamic Server Version 9.40.UC7 on
> > Red Hat Enterprise Linux 2.6.9-5.ELsmp
> >
> > Applications acces via ODBC to this databases, i try send FILETOBLOB
> > function but always get an "Not implemented yet" message, via JDBC
> > works, but is not an option (applications are Clarion 5.0 made)
> >
> > Some suggestion ?

>
> Well, although I'm sure you are getting the -999 on your development
> environment, and thus the next comment does not apply (yet), I thought I'd
> save you a considerable amount of wasted time anyhow - smartblobs are not a
> feature of 7.
>
> In general it is a good idea to have development, test and production
> environment on at least comparable versions.
>
> As for the -999 on ODBC vs no error on JDBC, I'd say that the argument list
> you are passing to FILETOBLB differs in the two cases, but it's hard to point
> you in the right direction without seeing some hard SQL. Not that I'm asking
> to see some, if you see what I mean...
>
>
> --
> Ciao,
> Marco
> __________________________________________________ ____________________________
> Marco Greco /UK /IBM Standard disclaimers apply!
>
> Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
> 4glworks http://www.4glworks.com
> Informix on Linux http://www.4glworks.com/ifmxlinux.htm


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-20-2008, 01:25 PM
Jonathan Leffler
 
Posts: n/a
Default Re: How to Handle BLOBs via ODBC ?

eferreyra wrote:
> ok, thats why i put the ids 7 version in the mail.
>
> Now how i can handle the storing of files in IDS 7 via ODBC ?


Use BYTE blobs instead. Informix's ODBC should handle them; it
pre-dates version 9 of IDS (IUS).

--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com