
    USE hahn;
    pragma AutoCommit;
    -- check DAILY budget

    $runTime = 01012022;

    $ab_current_run_tbl = 'tmp/ab_' || cast($runTime as string);

    insert into $ab_current_run_tbl WITH TRUNCATE
        select *
        from `//home/yabs/autobudget/AuditBudget`
        where RunTime = $runTime;
