1DECLARE fromdate TIMESTAMP DEFAULT '2014-01-01 00:00:00'; -- dates for after 2013
2DECLARE todate TIMESTAMP DEFAULT '2015-01-01 00:00:00';
3
4DECLARE bfromdate TIMESTAMP DEFAULT '2005-01-01 00:00:00'; -- dates for before 2013
5DECLARE btodate TIMESTAMP DEFAULT '2005-01-01 00:00:00';
6
7DECLARE achfromdate TIMESTAMP DEFAULT '2013-01-01 00:00:00'; -- dates for ACH without submit time in 2013
8DECLARE achtodate TIMESTAMP DEFAULT '2013-01-01 00:00:00';
9
10DECLARE currency STRING DEFAULT "USD";
11
1DECLARE fromdate TIMESTAMP DEFAULT '2014-01-01 00:00:00'; -- dates for after 2013
2DECLARE todate TIMESTAMP DEFAULT '2015-01-01 00:00:00';
3
4SELECT FORMAT('From %t to %t', fromdate, todate);
5