adVarChar output parameter padded with blank spaces
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