in reply to undef and empty variables

If you're using the DBI, and using place holders, most drivers will insert a NULL if the corresponding value is undefined.