If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Delphi problem.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-04, 03:24
debkumar debkumar is offline
Registered User
 
Join Date: May 2002
Posts: 28
Delphi problem.

Hi,
My quey in Delphi/Borland C++ Builder is -
I am using TStoredProc component to execute a stored procedure of oracle:
Procedure declaration is

Procedure OMM_GET_SWITCH_SETTINGS ( p_Return OUT varchar2,
p_Error_Return OUT varchar2,
p_Switch_type IN varchar2,
p_Agent_Code IN varchar2
)


Now the return value p_Return should returns 1000 characters, But on setting up everything in Borland env (Dlphi/Borland C++ Builder) , we get only 255 chars followed by lots of spaces and some junk values.
Question is why the output string gets terminated and what is the possible solution for this.

As such the procedure when executed on SQL prompt returns correct 1000 chars.
Thanks in advance
Deb
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On