Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by Clinton Herring Format a DOS date as yyyymmdd RE: Format a DOS date as yyyymmdd
tammylynnwoods
Valued Member
Points: 71
More actions
September 24, 2008 at 10:17 am
#876508
I couldn't get the osql command to work with the variable for the date.
Here's the osql cmd:
set var=%date%
osql.exe -U sa -P password -h-1 -s "," -n -i c:\paymentproductivityreport.sql -o c:\paymentproductivity_%var%.csv