Getting rid of WP post revisions

Hi guys,
I write a lot of WP posts daily and was just wondering how I can batch delete post revisions or indeed stop them being created as I presume they can really add to your DB.

would using the sql command

DELETE FROM wp_posts WHERE post_type = "revision";

in phpmyadmin work?

Or is there a safer way to do this built into WP?