Clinton Herring
Ten Centuries
Points: 1160
More actions
September 29, 2007 at 9:36 pm
#179287
Comments posted to this topic are about the item Format a DOS date as yyyymmdd
tammylynnwoods
Valued Member
Points: 71
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
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply