Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009

    Unanswered: Retriving BLOB file In ref cursor using join query


    I am using ref cursor to return resultset to java application from procedure as SYS_ref cursor as out parameter, in cursor i want blob file to java appliction, actually i wrote query for cursor is

    select a.col1,a.col2,b.col1,c.blobcol from
    tableA a,tableB b, TableC c
    where and

    i am getting the error that---- inconsitent datatypes expected-got BLOB,
    if write query for BLOB file individually its selecting fine like
    select BLOBCol into Timp_blob from documents where id=12.
    if am writing cursor query(join query) i am getting above error, i researched in google, in one article i found that in join querys you cannot retrive blob files, actually i want to fetch record of customer and his attached file in cursor at atime, that's the reason i used join query to get blob file. any help please--------------------- urgent.

  2. #2
    Join Date
    Aug 2003
    Where the Surf Meets the Turf @Del Mar, CA
    Provided Answers: 1
    No Operating System name or version
    No Oracle version number (from v$version).
    No error message (not your interpretation of the actual full and complete message).
    No DDL.
    No DML.
    No expected results.
    No help is possible at this time.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts