本帖最后由 ArdentMan 于 2011-7-11 12:29 编辑
命令行- for %f in ("C:\dev\ccnet\DConn\DB\Script\Create Scripts\*.sql") do for /f %i in ("%~tf") do if "%i" equ "%date:~,10%" call "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe" -S Tripodcn-sqlt -d Tripod -U sa -P "" -i "%f"
复制代码
|