I'm using an odbc connection from MS Access to return data from an Oracle table. This table contains decimal values ex: 0.5. When I run my query outside of Access in Toad, the decimal values return correctly. But when I run the same query inside Access via a pass through query, the data is returned as 0 instead of 0.5.
This has nothing to do with data type chosen for the field names in the Access tables - I see the 0 value as I'm running the pass-through, before the data is even stored in the Access tables.
How can I modify my pass-through so that decimal values are returned?
Simplified query:
Select
quantity_ordered, --may be decimal
quantity_delivered, --may be decimal
quantity_ordered - a.quantity_delivered)"not delivered", --may be decimal
from mytable;
This has nothing to do with data type chosen for the field names in the Access tables - I see the 0 value as I'm running the pass-through, before the data is even stored in the Access tables.
How can I modify my pass-through so that decimal values are returned?
Simplified query:
Select
quantity_ordered, --may be decimal
quantity_delivered, --may be decimal
quantity_ordered - a.quantity_delivered)"not delivered", --may be decimal
from mytable;