in reply to Overflow of $DBI::rows
I'd try one of two things: Either tell the database to explicitly use a larger numeric datatype in the hope that the driver will handle it:
select convert(numeric(15),count(*)) from ...
or failing that, have the database convert it to a string:
select convert(varchar(32),count(*)) from ...
I've never used Teradata, so I don't know if the syntax would need tweaking, but I'd expect a trick like this to get you to your goal.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Overflow of $DBI::rows
by DanEllison (Scribe) on Dec 07, 2012 at 16:35 UTC | |
by roboticus (Chancellor) on Dec 07, 2012 at 16:53 UTC |