dbTalk Databases Forums  

ODBC to download LOB

comp.databases.filemaker comp.databases.filemaker


Discuss ODBC to download LOB in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bethesdananny@gmail.com
 
Posts: n/a

Default ODBC to download LOB - 04-11-2007 , 07:38 PM






Hi,

Beginner here using an SQL SELECT statement to try to download a pdf
file stored as an LOB via an ODBC driver from FMP.

I'm actually hitting a BFILE and (miraculously!) it seems to at least
open the file based on the pointer in the column and I am able to
download about half of the pdf (approx 100k characters) before getting
an ODBC error right string truncated.

I am downloading from Oracle9 (I think) into a Filemaker Pro container
field so I don't think it's getting truncated at my end. Running
Windows XP.

Do I have to specify the length the file? Or the fact that it's an
LOB?

IT people I've spoken with seem surprised that I'm able to get even
half of the file - hope there is a solution to get the whole thing.

Help greatly appreciated.

Thank you!


Reply With Quote
  #2  
Old   
d-42
 
Posts: n/a

Default Re: ODBC to download LOB - 04-15-2007 , 08:02 PM






On Apr 11, 5:38 pm, bethesdana... (AT) gmail (DOT) com wrote:
Quote:
Hi,

Beginner here using an SQL SELECT statement to try to download a pdf
file stored as an LOB via an ODBC driver from FMP.

I'm actually hitting a BFILE and (miraculously!) it seems to at least
open the file based on the pointer in the column and I am able to
download about half of the pdf (approx 100k characters) before getting
an ODBC error right string truncated.

I am downloading from Oracle9 (I think) into a Filemaker Pro container
field so I don't think it's getting truncated at my end. Running
Windows XP.

Do I have to specify the length the file? Or the fact that it's an
LOB?

IT people I've spoken with seem surprised that I'm able to get even
half of the file - hope there is a solution to get the whole thing.

Help greatly appreciated.

Thank you!
Honestly, I'd try to sort this out outside of filemaker first. Once
you can reliably get the file out of Oracle through the ODBC drivers
you are using -then- try doing that query from within FM.

If the error is coming from Oracle or the ODBC drivers it would be
easier to troubleshoot and diagnose if you took FM out of the picture.

-regards,
Dave



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.