starbai007
MIS
I simply have a table with Year To Date data. I'm looking to update this table every night at around 9pm with a scheduled task which will run any import function i wish. Using navi-cat i can also add a conditional statement on which to import the data with.
Up until now I have had to manually change the dates within my clause. I believe I am pulling data from a DB2 back end, into a mySQL database locally. Similar to a data-mart business model.
Is there an easy way to do a "CURDATE()-1" where the date/time are merged into one field with the following format:
WHERE CRDATTIM BETWEEN '2008-08-11-00.00.00.000000' AND '2008-08-12-00.00.00.000000'
Thanks for taking the time to read my post.
-Danny
Up until now I have had to manually change the dates within my clause. I believe I am pulling data from a DB2 back end, into a mySQL database locally. Similar to a data-mart business model.
Is there an easy way to do a "CURDATE()-1" where the date/time are merged into one field with the following format:
WHERE CRDATTIM BETWEEN '2008-08-11-00.00.00.000000' AND '2008-08-12-00.00.00.000000'
Thanks for taking the time to read my post.
-Danny