Passing Memo Text to Clob Field by TOraStoredProc
Posted: Thu 18 Oct 2007 06:07
Hi I would like to know which one is the best way when need to record the contents from some memo component to a clob field on table, using tOraStoredProc. I´m declaring the clob field as ftString like this:
vStored.Params.CreateParam(ftString,'P_SINOPSE',ptInput);
and passing value to it like this:
vStored.Params.ParamByName('P_SINOPSE').AsString:=MemSinopse.text;
is this the best way to work? My procedure header is like this:
...P_SINOPSE IN CLOB...
Please, let me know if I´m doing something wrong. ftString is the best declaration type to receive some Tmemo data?
thanks
vStored.Params.CreateParam(ftString,'P_SINOPSE',ptInput);
and passing value to it like this:
vStored.Params.ParamByName('P_SINOPSE').AsString:=MemSinopse.text;
is this the best way to work? My procedure header is like this:
...P_SINOPSE IN CLOB...
Please, let me know if I´m doing something wrong. ftString is the best declaration type to receive some Tmemo data?
thanks