|Home||How To||Online Documentation||Support||Download||Order|
SAString asLongChar( )
If the value of current object is NULL, asLongChar 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), asLongChar 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 notes
No specific information.
Problems and Questions
If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to firstname.lastname@example.org.