.net - What Date Format Should I Send When Using Oracle.DataAcess -


converting usind micorsofts syste.data.oracleclient believe called oracles odt (oracle.dataaccess 10.2.0.100). when try , send date error "ora-1858: non-numeric character found numeric expected". code worked great using system.data.oracleclient.

cmd.parameters.add(new oracleparameter("i_first_loss_event_date", oracledbtype.date)).value = .losseventsmessages(0).losseventtime 

thanks,

dave

as per table 3-10 in oracle data provider .net developer's guide, data type of value property of parameter should system.datetime (unless you're willing use odp.net-specific type, in case should oracledate or 1 of oracletimestamp types, depending on column/parameter type).


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -