Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
DB Access Module for Sybase User's Guide

2.17 Output Binding of Data

Applications must follow the type mapping rules for output binding as defined in Section 2.3, and accordingly bind compatible datatypes. For example, a character type of width 1 is stored as a Sybase server datatype tinyint and retrieved as a C++ short. To retrieve the type properly, you must bind a buffer of type RWDBTBuffer<short> or a compatible type, such as RWDBTBuffer<int> or RWDBTBuffer<long>. Trying to retrieve this as an RWDBTBuffer<char> results in undefined errors.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.