Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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 ==== <code> declare subroutine Delete_Table tablename = "MY_TABLE" lockflag = 1 status = "" Delete_Table(tablename,lockflag,status) </code> guides/programming/programmers_reference_manual/delete_table.txt Last modified: 2024/06/19 20:20by 127.0.0.1