KI_DROP_TABLE

Remove a table from a database

Synopsis:
CALL KI_DROP_TABLE connection, file$ TO status
status = 'ki_drop_table( connection, file$ )
ArgumentEnumerationPurpose
connectionDatabase connection number
file$Table to remove
statusKDB_ERROR_ENUMReturn status
>KI_DROP_TABLE

KI_DROP_TABLE

This function will remove the table table$ in the database specified by the given connection number. For a native KISAM connection the table name should be the file name, given with respect to the current working directory.

History
Introduced in KCML 5.00
See Also:
KI_CLOSE, KI_CLOSE_TABLE, KI_DB_NAME, KI_EXTEND, KI_GET_HANDLE, KI_GET_SERIAL, KI_INFO, KI_INITIALISE, KI_LOCK_ALL, KI_OPEN, KI_PREFETCH_ROWS, KI_REBUILD, KI_RESET_CACHEID, KI_SET_DATESTAMP, KI_SET_SERIAL, KI_SET_TIMESTAMP, KI_SET_USERSTAMP, KI_UNLOCK_FILE, KI_VERIFY
KCML database status codes