Re: [Oracle][ODBC]Numeric value out of range.
- From: jkstill@xxxxxxxxxxx (Jared Still)
- Date: Mon, 23 Jul 2007 22:07:46 -0700
On Fri, 2007-07-20 at 12:34 -0700, Paul Simon wrote:
Again, setting the sql type to SQL_VARCHAR via bind_param solves the error...
Looking back, the problem started when I upgraded the oracle client (including oracle odbc
driver) from 9i to 10g. There's something not right here - even though the data type in schema
is DATE, the function, TO_DATE(?,'MM/YYYY'), requires a string.
Your message seems to imply that to_date() should not require a string.
If that is so, it is incorrect. to_date() does require string.
Are you trying to reformat a date for display? Then use to_char().
.
- Follow-Ups:
- Re: [Oracle][ODBC]Numeric value out of range.
- From: Paul Simon
- Re: [Oracle][ODBC]Numeric value out of range.
- References:
- Re: [Oracle][ODBC]Numeric value out of range.
- From: Paul Simon
- Re: [Oracle][ODBC]Numeric value out of range.
- Prev by Date: Apache -Perl-DBD-Oracle Module Issue - Regd.
- Next by Date: Re: Problem compiling DBD::Sybase with CentOS 4.5
- Previous by thread: Re: [Oracle][ODBC]Numeric value out of range.
- Next by thread: Re: [Oracle][ODBC]Numeric value out of range.
- Index(es):
Relevant Pages
|