Oh yeah -

2 more steps you might want to include in JDoyle's method :

Disable any FK constraints and triggers on your table
(if there are any) and then enable them again afterwards!

:-)

-John