Saturday, December 17, 2005

Err and get over it

If you want to delete a table and say things like:

drop table x

you'll get an error message if the table x doesn't exist.

To check if it exists may require to run a query and see if you get any rows returned. Far easier is it to receive the error with open arms and move on:

No comments: