Deleting an Array
Go Up to Accessing Array Data
There are three ways to delete an array:
- 1. Delete the row containing the array. You can use DSQL to execute a
DELETEstatement. - 2. Replace the array with a different one, as described above. If an array column contains an array ID, and you modify the column to refer to a different array, the array referenced by the previously stored array ID will be deleted during the next garbage collection.
- 3. Reset to
NULLthe column referring to the array. For example, use DSQL to execute a statement like the following, whereLANGUAGE_REQis an array column:
"UPDATE JOB SET LANGUAGE_REQ = NULL WHERE JOB_CODE = "SA12" AND JOB_GRADE = 10"
- The array referenced by the previously stored array ID will be deleted during the next garbage collection.