This performs a count of records currently in each table but does not delete anything until you un-comment out the Delete statement.
We typically run the query to see the number of records in the table, then we delete them and re-run the count statement again to
confirm all records have been deleted.
select COUNT (*) from dbo.cpDocPii
--delete from dbo.cpDocPii
select COUNT (*) from dbo.cpDocPiiReturn
--delete from dbo.cpDocPiiReturn
select COUNT (*) from dbo.cpDocPiiSubmission
--delete from dbo.cpDocPiiSubmission
select COUNT (*) from dbo.cpItemIntervention
--delete from dbo.cpItemIntervention
select COUNT (*) from dbo.cpPiiActionsTaken
--delete from dbo.cpPiiActionsTaken
select COUNT (*) from dbo.cpPiiQuarantineDocument
--delete from dbo.cpPiiQuarantineDocument
select COUNT (*) from dbo.cpPiiReturn
--delete from dbo.cpPiiReturn
select COUNT (*) from dbo.cpPiiRules
--delete from dbo.cpPiiRules
select COUNT (*) from dbo.cpPiiSubmission
--delete from dbo.cpPiiSubmission