Re: Arithmetic overflow

Aaron Galea <[email protected]>
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
Hi Vladimir

I had to specify a precision of 30 for NUMERIC in some cases while in 
other a precision of 20 was enough. In my case a NUMERIC field was 
taking a default of 18 when precision was not specified. I am no sybase 
expert so I am not sure if you can specify this during sybase installation.

I am attaching my sybase/sql directory with this mail so that if someone 
else run into the same problem as me, he can use this attachment and 
avoid all the hassle.

Thanks
Aaron

Vladimir Puskas wrote:

> Hello Aaron
>
> Kernel uses on several places Long.MAX_VALUE/2 (4611686018427387903), 
> and it should be acceptable for each db vendor.
>
> It seems that NUMERIC isn't big enough. Are there other types Sybase 
> supports that could accept long values?
>
> regards
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the [email protected] mailing list.
>To unsubscribe: mailto:[email protected]
>For general help: mailto:[email protected]?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>
sybase-db.tar-bz2 (application/octet-stream, 4.2 KB) - not displayed
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.