加入收藏 | 设为首页 | 会员中心 | 我要投稿 51站长网 (https://www.51zhanzhang.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
站内搜索:
当前位置: 首页 > 站长百科 > 正文

Oracle Data Provider到CLR类型的映射

发布时间:2021-01-01 19:56:25 所属栏目:站长百科 来源:网络整理
导读:在哪里可以找到ODP到CLR类型映射的列表? 在Oracle数据库中,NUMBER(9,0)类型在.NET应用程序中作为System.Decimal从MS Oracle驱动程序中出现,但作为来自ODP驱动程序的System.Int32.我需要从数据库中出来的类型的确切规范(而不是CLR到DB参数映射). 解决方法 运

----------------------------------------------------------
-- Oracle integers mapping (Oracle Data Provider)
----------------------------------------------------------
number(1,0)                        System.Int16
number(2,0)                        System.Int16
number(3,0)                        System.Int16
number(4,0)                        System.Int16
number(5,0)                        System.Int32
number(6,0)                        System.Int32
number(7,0)                        System.Int32
number(8,0)                        System.Int32
number(9,0)                        System.Int32
number(10,0)                       System.Int64
number(11,0)                       System.Int64
number(12,0)                       System.Int64
number(13,0)                       System.Int64
number(14,0)                       System.Int64
number(15,0)                       System.Int64
number(16,0)                       System.Int64
number(17,0)                       System.Int64
number(18,0)                       System.Int64
number(19,0)                       System.Decimal
number(20,0)                       System.Decimal
number(21,0)                       System.Decimal
number(22,0)                       System.Decimal
number(23,0)                       System.Decimal
number(24,0)                       System.Decimal

(编辑:ASP站长)

【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

相关内容
未处理完善
    无相关信息
未处理完善