Examples: Deleting objects

The following are examples of deleting user objects from the database tables using optional parameters from the Database Cleanup utility.

Here is the same example, with sample values (instead of variables):

If you are deleting a store, close the store first, before deleting it.  The markfordelete flag is not supported.  You must use the status flag (open/closed/suspended) first, and then use the markfordelete flag. It is the status flag that determines store access.  

Related concepts

Database Cleanup utility

Related tasks

Cleaning the database