C#: Oracle Data Type Equivalence with OracleDbType -



Status:

I am creating an app in C # which is Oracle Uses DataAccess.Client (11G) to perform some operations on an Oracle database with stored procedures. I know that there is a definite enum (Oracled type) that contains the Oracle data types, but I'm not sure how to use it for a particular type.

question:

  • OracleDbType enumeration for each enumerated type, Oracle PL / SQL data type What is the equivalent?

  • OracleDbType has three types of integers
    (Int16, Int32, Int64) ... how to know which one to use or what they all are - to work think for?

OracleDbType calculation values ​​are defined in documents . Read.

Regarding choosing between Int16, Int32 and Int64, they should all work. Corresponds to the expected size of its net size: Int32 for the difference between -32768 and 32767, int32 for values ​​between 2147483648 and 2147483647, and for anything bigger Int64 inputs and PL / SQL data types There are some funnels related to changing. Check.


Comments

Popular posts from this blog

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -

url rewriting - How to implement the returnurl like SO in PHP? -