"Steve Kershaw" <> wrote in message
news: ps.com...
> David,
>
> Thanks that worked! However, it only works with
> System.Data.OracleClient NOT Oracle.DataAccess.Client. When will Oracle
> get with the program!?
>
Well, you can always just use CommandType.Text. And set command text to
string sql = @"
begin

_rv :=
HDB.PRL_PAY_PERIOD_PAYROLL_PKG.get_rec_final_qtr_c ount(

_year,

_quarter);
end;
";
This is the exact same block you can use in SqlPlus.
Then bind an output parameter and two input parameters. Be careful, ODP.NET
used positional parameter binding by default.
David