Using ResultSet.getCursorName( )  Using COMPUTE statements

Chapter 2: Programming Information

Using setLong( ) with large parameter values

Implementations of the PreparedStatement.setLong( ) method set a parameter value to a SQL BIGINT datatype. Most Adaptive Server databases do not have an 8-byte BIGINT datatype. If a parameter value requires more than 4 bytes of a BIGINT, using setLong( ) may result in an overflow exception.





Copyright © 2003. Sybase Inc. All rights reserved. Using COMPUTE statements

View this book as PDF