i have this batch file to generator report , as below code i do .
every time i want to set date FROM , TO , That should i edit batch.sql file to change date manually
now i need one batch to run this batch by set date from to without edit .sql file any more
isql -U -P -S -ic:\Batches\batch_statistics.sql -oc:\batch_statistics.err
.SQL file :
exec test..batch_statistics "formdate","todate"
From and To Dates should be like this : "20090507" , YYYYMMDD