in reply to Re: working with year in mysqlin thread working with year in mysql
If you are using placeholders, then I think an undef value will evaluate to NULL, but you'd have to check that