Ok, let's try this again.  

The limitation that I mentioned below about Excel is not true.  

We finally got the ColdFusion developer to look at this problem, after I
finally convinced everyone that this is not an Oracle or Excel issue.  The
CF developer immediately knew the answer.  Apparently, when you pass field
data between CF and Oracle there is a default limitation of 255 characters.
The CF developer raised this limitation to 1,000 for the field in question
in the .cfm code.  And the application now works correctly.  

Something to keep in mind when dealing with ColdFusion...

Tom, thanks for all the PL/SQL help.  It sure looked like an Oracle error.
Oh well...

Thanks.

Chris
"May Oracle be with you...always"

-----Original Message-----
Sent: Wednesday, September 05, 2001 3:13 PM
To: 'Mercadante, Thomas F'; '[EMAIL PROTECTED]'
Cc: Grabowy, Chris


Thanks to Tom M and everyone else that responded.

When the procedures are called from within Oracle with the same data then
there are no errors.  This now appears to be an Excel problem.  Apparently,
Excel has a limitation with inserting 255+ characters into a cell.  So, yes,
the app was retrieving data from Oracle and feeding it into Excel.  But
instead of getting an Excel error we were getting Oracle errors.  

This will be confirmed when the programmer splits the data into small chunks
and feeds them into different cells.

Thanks.

Chris

-----Original Message-----
Sent: Tuesday, September 04, 2001 3:51 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'


Chris, 
want to try something?

Create a local variable for the TITLE column (local to this procedure.
Select the data into the local variable, then reassign it to your OUT
variable and see if the same thing happens.

like::


l_study_title_out study.title%TYPE;

begin

select title into l_study_title_out from....;


study_title_out := l_study_title_out;


end;

see if you get the same error.
You can use DBMS_OUTPUT to depbug the steps if it helps.

I've seen stuff with selects and out variables that don't make sense
sometimes.....

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Tuesday, September 04, 2001 3:57 PM
To: Multiple recipients of list ORACLE-L


Let's try that once more...

procedure get_study_info (study_id_in IN study.study_id%TYPE,
                          study_title_out OUT study.title%TYPE,
                          brief_title_out OUT study.brief_title%TYPE,
                          study_number_out OUT study.client_study_no%TYPE,
                          protocol_number_out OUT
study.sponsor_protocol_no%TYPE,
                          sponsor_out OUT company.company_name%TYPE,
                          cro_out OUT company.company_name%TYPE,
                          therapeutic_agent_out OUT
therapeutic_agent.therapeutic_agent%TYPE,
                          clinical_state_out OUT indication.indication%TYPE,
                          study_status_out OUT current_status.label%TYPE,
                          target_number_of_sites_out OUT
study.target_num_of_sites%TYPE,
                          target_number_of_subjects_out OUT
study.target_num_of_subjects%TYPE)
 IS
 BEGIN
    select title, brief_title, client_study_no, sponsor_protocol_no, 
         sponsor_company.company_name sponsor_name,
         cro_company.company_name cro_name, ta.therapeutic_agent, 
         i.indication indication,
         cs.label current_study_status, nvl(target_num_of_sites, 0)
target_num_of_sites, 
         nvl(target_num_of_subjects, 0) target_num_of_subjects
    into study_title_out, brief_title_out, study_number_out,
protocol_number_out, 
         sponsor_out, cro_out, therapeutic_agent_out, clinical_state_out,
         study_status_out, target_number_of_sites_out,
target_number_of_subjects_out
    from study s, company sponsor_company, company cro_company,
therapeutic_agent ta,
         indication i, current_status cs
    where s.sponsor=sponsor_company.company_id
    and s.cro=cro_company.company_id (+)
    and s.therapeutic_agent_id=ta.therapeutic_agent_id
    and s.indication_id=i.indication_id
    and current_study_status_id=cs.current_status_id
    and s.study_id=study_id_in;
 end get_study_info;

Hopefully, that will come out in a better format on the list...

BTW, per Tom's question the calling procedure also TYPE's the study title 
to the STUDY.TITLE table/column.

Chris

-----Original Message-----
Sent: Tuesday, September 04, 2001 3:10 PM
To: Multiple recipients of list ORACLE-L


Chris,

Need to see the whole procedure ...

Raj
______________________________________________________
Rajendra Jamadagni              MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art !

*********************************************************************1

This e-mail message is confidential, intended only for the named
recipient(s) above and may contain information that is privileged, attorney
work product or exempt from disclosure under applicable law. If you have
received this message in error, or are not the named recipient(s), please
immediately notify corporate MIS at (860) 766-2000 and delete this e-mail
message from your computer, Thank you.

*********************************************************************1

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jamadagni, Rajendra
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Grabowy, Chris
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Grabowy, Chris
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to