sql - Converting batch output into String -
sql - Converting batch output into String -
i have written simple script converts computer's date (format: mm/dd/yyyy) sql periodid (yyyymmdd).
@echo off set %mydate%=%date:~10,4%%date:~4,2%%date:~7,2%
however, output of %mydate% numeric (int). how can create %mydate%'s output becomes string?
thanks in advance!
sql batch-file scripting
Comments
Post a Comment