OracleType.DateTime

  • Thread starter Thread starter N.K
  • Start date Start date
N

N.K

I am calling ORacle Stored Proc which accepts date as one of param ,
in my code

oraCommand.Parameters["start_date"].Value = new DateTime(...,...,..);

but the proc doesnt returns values expected, If i call proc from SQL
plus it returns correct values.

Is .NET DateTime compatible with OracleType.DateTime ???
 
should be converted through the OLE DB connector to the right datatype in
both directrions automaticly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top