[Sqlrelay-discussion] Oracle procedure with date parameter - how to bind?
Brought to you by:
mused
|
From: Maciej W. <mac...@co...> - 2006-02-07 08:48:10
|
Hi
I wonder how should I bind to oracle procedure which has DATE parameter.
Suppose this is OUT parameter, then, in Python API, I have only:
defineOutputBindInt
defineOutputBindDouble
defineOutputBindString
what should I do with date?
Now I simply write:
begin
:func_ret:=BLA_PROC(to_date(:A_DATA_X,'YYYY-MM-DD'), :A_OPIS);
end;
and I bind to string A_DATA. Is this a correct way?
--
Maciej Wisniowski
|