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

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -