command-delete
Use this command to delete row(s) from a table.
Format
DELETE FROM Table [ WHERE bool-condition ]
Remarks
UNEXPECTED BEHAVIOR OF APPLICATION
The searched DELETE command deletes row(s) from a table. The operation is multi-row, in that zero or more rows will be deleted from a table in a single operation. The optional WHERE clause defines a condition, which identifies which rows will be deleted.
CAUTION: Omitting the WHERE clause will delete all rows from a table.
DELETE
FROM CDBPoint
WHERE FullName = 'System.Obsolete Point'
Required Permissions
To successfully use this command, the User Account of the user that is executing the command has to be assigned the Configure permission on every database item that is being deleted. If this includes Groups, Group Templates, and/or Group Instances, then this also applies to every item in those Groups, Group Templates, and/or Group Instances, recursively down to the lowest level of nesting within those groups.
If any of the database items are security related, the User Account also has to be assigned the Security permission on those security-related database items (see User Access Considerations when Working with SQL).
Some types of table are special cases; for further information, see User Access Considerations when Working with SQL.