how to delete thousands of spam comments all at once

Since today i control a site that has 160.000 spamcomments. How can i remove those as a bulk?

I only have access to wordpress and not the server/cpanel.

i have found this http://blogtimenow.com/wordpress/mass-delete-comments-wordpress-spam-pending-approved/

I don't know if this is the right solution.