Is there solution for ‘0000-00-00 00:00:00’ problem, without changing table?
I have ‘[]’ in this query:
dbh.select_all('select j.n, j.name, j.dsc, j.flag, j.td from job j where j.td='0000-00-00 00:00:00'')
I look solution for this: http://rubyforge.org/tracker/index.php?func=detail&aid=22243&group_id=234&atid=967
So your default is ‘0000-00-00 00:00:00’ and you can’t change it. I dug up my ruby-dbi mailing list archives and found the following explanation:
See this mailing list archive.