====== Delete_Table subroutine ====== ==== Description ==== Deletes native tables and their dictionaries. ==== Syntax ==== **Delete_Table**(//tablename, lockflag, status)// ==== Parameters ==== The Delete_Table subroutine has the following parameters. ^Parameter^Description^ |//tablename//|The 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. ".| |lockflag|Set to true, in order to lock the table prior to deletion.| |//status//|If 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.| ==== See Also ==== [[detach_table|Detach_Table]], [[create_table|Create_Table]], [[copy_table|Copy_Table]] ==== Example ==== declare subroutine Delete_Table tablename = "MY_TABLE" lockflag = 1 status = "" Delete_Table(tablename,lockflag,status)