@echo off

gsqlcmd exec cashbook.csv "SELECT Date, Company, debit AS Amount FROM cashbook.csv WHERE debit IS NOT NULL" /addRowNum /rowNumBase=1 sales.txt /datetimeformat=M/d/yyyy /echo

@type sales.txt

if .%1.==./Q. goto :EOF

@pause
