[성현모] DBPatch 간소화, 경로 변경

This commit is contained in:
SHM
2025-08-04 10:55:49 +09:00
parent bb9ed413a7
commit 1db24651ca
29 changed files with 1318 additions and 8 deletions

View File

@ -0,0 +1,19 @@
@echo off
SET Schema=%1
SET ServerIP=%2
SET ServerPort=%3
SET UserID=%4
SET Passwd=%5
SET DBName=%6
SET SqlCmdOption=-C -U %UserID% -P %Passwd% -S %ServerIP%,%ServerPort% -f 65001 -o .\logs\%DBName%.log
SET DatabaseName=%DBName%
sqlcmd %SqlCmdOption% -i .\%Schema%_Create.sql
if errorlevel 1 goto errexit
goto end
:errexit
echo DB Patch Fail
goto end
:end
@echo on