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 -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -