c**t 发帖数: 2744 | 1 Using Oracle Data Provider for .Net, call a stored procedure with OUT cursor
, which equivalent to:
select max(integer_field) as blah,....
After fill the dataset, I check the datatables[0]: the data type of blah
CHANGED to decimal!!
I made it work by altering sp, cast the max to integer... any better
approach? and why ODP change the data type? | c**e 发帖数: 2558 | 2 http://download.oracle.com/docs/html/B28089_01/featTypes.htm
cursor
【在 c**t 的大作中提到】 : Using Oracle Data Provider for .Net, call a stored procedure with OUT cursor : , which equivalent to: : select max(integer_field) as blah,.... : After fill the dataset, I check the datatables[0]: the data type of blah : CHANGED to decimal!! : I made it work by altering sp, cast the max to integer... any better : approach? and why ODP change the data type?
|
|