> Hi, i need to store "files" (.doc, .pdf, etc.) in an informix database,
> the scenario is:
[quoted text clipped - 9 lines]
>
> 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...

Signature
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
eferreyra - 30 Oct 2006 13:20 GMT
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:
> > Hi, i need to store "files" (.doc, .pdf, etc.) in an informix database,
> > the scenario is:
[quoted text clipped - 32 lines]
> 4glworks http://www.4glworks.com
> Informix on Linux http://www.4glworks.com/ifmxlinux.htm
Jonathan Leffler - 31 Oct 2006 07:02 GMT
> 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).

Signature
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/