CREATE PROCEDURE ClearLogs AS BEGIN SET NOCOUNT ON; DELETE FROM CategoryLog DELETE FROM [Log] DELETE FROM Category END