| Home | How To | Online Documentation | Support | Download | Order |
|
|
SACommand *asCursor( )
const; operator SACommand *( ) const; asCursor method returns the value of current object (usually SAField or SAParam object) as a pointer to SACommand object. operator SACommand *() substitute asCursor method to provide quick access for object's value. RemarksIf the value of current object is NULL, asCursor method returns NULL. Use SAValueRead::isNull method to make sure if the value is NULL or not. If the value's type of current object is cursor (SA_dtCursor), asCursor method returns a pointer to SACommand object. If the value's type of current object is any data type except SA_dtCursor, the result is undefined and debug version asserts. Use SAValueRead::DataType method to get the value's type of SAValueRead object.
Server specific notesNo specific information. See alsoisNull, asBool, asShort, asLong, asDouble, asNumeric, asDateTime, asString, asBytes, asLongBinary, asLongChar, asBLob, asCLob, DataType Problems and QuestionsIf you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com. |
||||||||||||||||||