Xbasic
SQL::TableInfoColumnIsInPrimaryKey Method
Syntax
DIM result AS L = ColumnIsInPrimaryKey(ColumnIndex as N)
Arguments
- ColumnIndexNumeric
The index of the column to test.
Returns
- resultLogical
Returns .t. if the column matching the index requested is part of the table's primary key. Otherwise, .f..
Description
Checks if a specified column is part of a table's primary key.