In this case, yes. The code you use to create the database table should be in it's own script, so it's only run when needed.

Actually, a much simpler solution is to use something like phpMyAdmin...