Delete_Table subroutine

Deletes native tables and their dictionaries.

Delete_Table(tablename, lockflag, status)

The Delete_Table subroutine has the following parameters.

ParameterDescription
tablenameThe table or tables to delete at the specified location.

If a tablename is specified it will delete both the table and its dictionary.

To delete just a dictionary portion, preface the table name with "DICT. ".
lockflagSet to true, in order to lock the table prior to deletion.
statusIf true (1) on return, then the table was deleted successfully. Note that while this does indicate success or failure, the Get_Status() is the preferred method for obtaining status information.




To delete a table using the tool set, use the Database Manager.|

declare subroutine Delete_Table

tablename = "MY_TABLE"

lockflag = 1

status = ""

Delete_Table(tablename,lockflag,status)
  • guides/programming/programmers_reference_manual/delete_table.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1