Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime

Usage

Examples

SAField

Methods

Pos Returns a one-based position of the field in a result set
Name Returns name of the field
FieldType Returns field data type
FieldSize Returns field data size
FieldPrecision Returns precision of the field value
FieldScale Returns scale of the field value
isFieldRequired Shows if it is possible for the field value to be null

ReadLongOrLob Starts reading of Long or BLob(CLob) value using user defined callback

Methods inherited from SAValueRead

DataType

Returns field's value data type

isNull

Shows if field's value is null

asShort

Returns field's value as short data; converts if needed

asLong

Returns field's value as long data; converts if needed

asDouble

Returns field's value as double data; converts if needed

asDateTime

Returns field's value as  SADateTime data; converts if needed

asString

Returns field's value as character string data (SAString); converts if needed

asBytes

Returns field's value as binary string data (SAString); converts if needed

asLongBinary

Returns field's value as long binary data (SAString); converts if needed

asLongChar

Returns field's value as long character data (SAString); converts if needed

asBLob

Returns field's value as BLob data (SAString); converts if needed

asCLob

Returns field's value as CLob data (SAString); converts if needed

asCursor

Returns field's value as a pointer to SACommand object

setLongOrLobReaderMode

Sets Long or Lob data reading mode

LongOrLobReaderMode

Gets Long or Lob data reading mode

operator short()

Substitute asShort method to provide quick access for field's value.  Returns field's value as short data; converts if needed

operator long()

Substitute asLong method to provide quick access for field's value. Returns field's value as long data; converts if needed

operator double()

Substitute asDouble method to provide quick access for field's value. Returns field's value as double data; converts if needed

operator SADateTime()

Substitute asDateTime method to provide quick access for field's value. Returns field's value as SADateTime data; converts if needed

operator SAString()

Substitute asString method to provide quick access for field's value. Returns field's value as string data (SAString); converts if needed

operator SACommand *()

Substitute asCursor method to provide quick access for field's value. Returns value as a pointer to  SACommand object