| SE_table_create_unique_constraint |
Creates a UNIQUE constraint for a table.
LONG SE_table_create_unique_constraint(
SE_CONNECTION connection,
const CHAR *table,
SHORT num_columns,
const CHAR **columns,
const CHAR *constraint_name,
const CHAR *config_keyword);
| connection | The connection handle |
| table | The DBMS table name |
| num_columns | The number of columns on which index is created |
| columns | The DBMS column names on which the index is created |
| constraint_name | The constraint name |
| config_keyword | Keyword indicating alternate configuration. The keywords are found in the SDE.DBTUNE table |
SE_table_create_unique_constraint creates a DBMS UNIQUE constraint on the specified table.
SE_SUCCESS
SE_DB_IO_ERROR
SE_INVALID_CONNECTION
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_NET_FAILURE
SE_NO_PERMISSIONS
SE_SDE_NOT_STARTED
SE_TABLE_NOEXIST