How to parse the cursor content.
Posted: Tue 23 Nov 2004 09:00
Hello all,
I use this code to execute a stored proc..
OraStoredProc.StoredProcName := 'KNGDDW.KNGc_GetList';
OraStoredProc.PrepareSQL; // receive parameters
OraStoredProc.Params[0].ParamType := ptoutput;
OraStoredProc.Params[0].DataType := ftInteger;
OraStoredProc.Params[1].ParamType := ptoutput;
OraStoredProc.Params[1].DataType := ftCursor;
OraStoredProc.Execute;
RsltId := OraStoredProc.Params[0].AsInteger;
now - how do i get and parse the Cursor??
please help ASAP.
thanks alot.
I use this code to execute a stored proc..
OraStoredProc.StoredProcName := 'KNGDDW.KNGc_GetList';
OraStoredProc.PrepareSQL; // receive parameters
OraStoredProc.Params[0].ParamType := ptoutput;
OraStoredProc.Params[0].DataType := ftInteger;
OraStoredProc.Params[1].ParamType := ptoutput;
OraStoredProc.Params[1].DataType := ftCursor;
OraStoredProc.Execute;
RsltId := OraStoredProc.Params[0].AsInteger;
now - how do i get and parse the Cursor??
please help ASAP.
thanks alot.