I have a procedure with a lot of parameters:
....
var IN BOOLEAN DEFAULT FALSE,
....
and one variable is a boolean.
How can I put the bool parameter into this stored procedure from c#?
I've tried :
OracleParameter op5 = new OracleParameter("var", 1);
op5.Direction = ParameterDirection.Input;
cmd.Parameters.Add(op5);
but I receive always the same error:
System.Data.OracleClient.OracleException: ORA-06550: riga 1, colonna 7:
PLS-00306: numero o tipi di argomenti errati nella chiamata di 'myproc'
ORA-06550: riga 1, colonna 7:
PL/SQL: Statement ignored
Any idea ?