Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Stored procedure

From version 5.4.019 this editable procedure will not be called automatically. Instead of using it, you write your own procedure and put the name of the procedure in the application variable "SavedSearchDeleteProcedure".

Deletes a saved search.

You can edit this procedure if you have tables with foreign keys against ADMINSearch that you need to delete from.

Return value: int

Returns a negative value on failure.


@SearchID mandatory int
Search to delete.
@UserID mandatory int
User attempting to delete search.