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

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

model view controller - MVC Rails Planning -

php - Working with pretty urls on apache and fastcgi after hhvm installation -