Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

adVarChar output parameter padded with blank spaces

13154Aug 15 2002
I am using ADO in VC++ with Oracle OLE DB provider.
If I have an output parameter like the following

pParam = pCmd->CreateParameter( "P1",adVarChar,adParamOutput,15 );
pCmd->Parameters->Append(pParam);

and use the pCmd to call a stored procedure, the
return value in P1 is going to be padded with blank
spaces to up to 15 characters.
Is there a way to avoid this, so the return is exactly
what it is from the stored procedure?

Thanks a lot for help!

Jianying
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2002
Added on Aug 15 2002
1 comment
881 views