Decimal Problem usind ADO and Microsoft Oracle ODBC driver 
Author Message
 Decimal Problem usind ADO and Microsoft Oracle ODBC driver

Hello I have a stored procedure in an Oracle 8.1.5 DB that accepts a
parameter of NUMBER 22,4 When I call the proc I have a variant type which I
convert to Double and set it to the input parameter:

.Parameter(viInput") = CDbl(InputField)

When I execute the stored proc it chopes off the decimal portion. Can
someone tell me how I can get this to work?? If I debug I can see the write
value is in the parameter before execution but still the decimal is chopped
in the DB.
Thanks,
Ken



Sat, 31 Aug 2002 03:00:00 GMT  
 Decimal Problem usind ADO and Microsoft Oracle ODBC driver
try using CDec instead of double. i'm not familiar with oracle data
types, so i'm assuming number is similar to the sql server numeric
data types which have a fixed precision and scale.

On Tue, 14 Mar 2000 18:41:15 -0500, "Kenneth Brannigan"

Quote:

>Hello I have a stored procedure in an Oracle 8.1.5 DB that accepts a
>parameter of NUMBER 22,4 When I call the proc I have a variant type which I
>convert to Double and set it to the input parameter:

>.Parameter(viInput") = CDbl(InputField)

>When I execute the stored proc it chopes off the decimal portion. Can
>someone tell me how I can get this to work?? If I debug I can see the write
>value is in the parameter before execution but still the decimal is chopped
>in the DB.
>Thanks,
>Ken



Sun, 01 Sep 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Oracle ODBC driver / Microsoft ODBC driver for Oracle

2. Microsoft Oracle ODBC driver and ADO

3. HELP on connection to Oracle with Microsoft ODBC for Oracle Driver

4. VB Sql Server Via ADO Problem: [Microsoft][ODBC Sql Server Driver]

5. How to increase the buffer size of Microsoft ODBC driver for Oracle

6. Oracle 8.1.5 and Microsoft ODBC Driver

7. Microsoft ODBC driver for Oracle, version2.0

8. Microsoft ODBC Driver for Oracle : RowLimit

9. Need to reinstall Microsoft ODBC Driver for Oracle ?

10. ERROR WITH MICROSOFT ODBC DRIVER FOR ORACLE, URGENTE, PLEASE

11. How to see first line as data with ADO+ODBC/Microsoft Text Driver

12. ADO and Oracle ODBC drivers

 

 
Powered by phpBB® Forum Software