Oracle
 sql >> Database >  >> RDS >> Oracle

Converti OracleParameter.Value in Int32

Puoi anche provare:

Oracle.DataAccess.Types.OracleDecimal d = (Oracle.DataAccess.Types.OracleDecimal)cmd.Parameters["successCount"].Value;

if( d.IsNull )
    existsCount = 0;
else
    existsCount = d.ToInt32( );