Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> 0040, C++ and arrays
Hi All
I want to trace all db parameters and have a problem with arrays, I can get names and values of simple parameters (string and number) But how to trace arrays?
// tracing simple parameters
OParameterCollection params=pDB->GetParameters();
for( int i=0; i < params.GetCount(); i++ )
{
OParameter param = params.GetParameter(i);
CString strName = param.GetName();
int nType = param.GetServerType();
OValue val;
param.GetValue(&val);
CString strValue = (const char*)val;
}
Vladimir Received on Fri Mar 26 1999 - 10:20:16 CST
![]() |
![]() |