ODBC - keyed file commandsΒΆ
Keyed file commands used with ODBC
The following keyed file commands work in a similar way on tables in an ODBC database as they do on Sculptor keyed files:
Delete a record from a file. |
|
Find and read a record by full or partial key value. |
|
Read next record matching current search data. |
|
Read the next record in a file. |
|
Read key data only from the next record in a file. |
|
Read the previous record in a file. |
|
Read key data only from the previous record in a file. |
|
Read a record using exact key data. |
|
Read key data only from a record using exact key data. |
|
Reposition a file or secondary index at its start. |
|
Test for a record with a specified key. |
|
Position a file or secondary index at the end. |
|
Write a record back to a file. On some SQL databases, using writekl (not write) can substantially improve performance. |
If an ODBC file has the property file_id->batch = ON, a forward-only cursor is used for file access commands that do not lock the data file. See Reading records in batches.
RELATED TOPICS |