Delete DataTable
Use this command to delete a DataTable from memory and allow the re-use of the same DataTable name within the current procedure. To delete only the rows in the DataTable, but maintain the DataTable object itself, see Delete DataTableRows.
Syntax:
DELETE DATATABLE DataTableName
where:
- DataTableName is the name of the DataTable object to delete.
Syntax example:
DELETE DATATABLE ExecutiveSalaries
See also