Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    Oracle Database

    beginner: how to download pdf stored as LOB?


    Hi,

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

    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
    "database" field that is capable of holding up to 4GB 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!

    bethesdana@gmail.com wrote:
    > Hi,

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

    Can not be done the way you are trying.

    Lets start at the beginning.
    1. What Oracle version number?
    2. Where is the PDF file?
    3. What ODBC driver and what does it have to do with anything?
    4. Have you heard of UTL_FILE?
    5. Have you heard of DBMS_LOB?
    --
    Daniel A. Morgan
    University of Washington
    damor@x.washington.edu
    (replace x with u to respond)
    Puget Sound Oracle Users Group
    www.psoug.org

    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc