| Home | How To | Online Documentation | Support | Download | Order |
|
|
SAString asBLob( ) const; Returns the value of current object (usually SAField or SAParam object) as BLob (SAString) data. RemarksIf the value of current object is NULL, asBLob method returns an empty string. Use SAValueRead::isNull method to make sure if the value is NULL or not. If the value's type of current object is string (SA_dtString), bytes (SA_dtBytes), long binary (SA_dtLongBinary), long character (SA_dtLongChar), BLob (SA_dtBLob) or CLob (SA_dtCLob), asBLob method returns the object's value as SAString object. If the value's type of current object is bool (SA_dtBool ), short (SA_dtShort), long (SA_dtLong), double (SA_dtDouble), numeric (SA_dtNumeric), date-time (SA_dtDateTime) or cursor (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, asCLob, asCursor, 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. |
||||||||||||||||||