C#: Oracle Data Type Equivalence with OracleDbType

前端 未结 5 2321
广开言路
广开言路 2020-12-01 05:34

Situation:

I am creating an app in C# that uses Oracle.DataAccess.Client (11g) to do certain operations on a Oracle database with stored procedures. I am awa

5条回答
  •  既然无缘
    2020-12-01 06:12

    For those who wants to know the equivalent of de floating points:

    Decimal     Oracle NUMBER type
    Double      8-byte FLOAT type
    

    Decimal is the way to go if you used Number in oracle.

    As APC pointed: https://docs.oracle.com/cd/B19306_01/win.102/b14307/OracleDbTypeEnumerationType.htm

提交回复
热议问题