The ifx_lo_tell() function
The ifx_lo_tell() function retrieves the current file or seek position for an open smart large object.
Syntax
ifx_lo_tell(lofd, seek_pos)
Arguments
The function accepts the following
arguments.
Argument | Type | Use | Description |
---|---|---|---|
lofd | SQL_INTEGER | Input | Smart-large-object file descriptor |
seek_pos | SQL_BIGINT | I/O | New seek position, which is the offset for the next read or write operation on the smart large object. Instead of using the default HCL OneDB™ ODBC Driver C data type of SQL_C_CHAR for seek_pos, use SQL_C_LONG. |
Usage
The ifx_lo_tell() function retrieves the current file or seek position for an open smart large object.
This function works correctly for smart large objects up to 2 gigabytes in size.