[성현모] [HubX] DB 프로젝트 생성, DB 스크립트 추가

This commit is contained in:
SHM
2025-03-12 11:46:14 +09:00
parent 32d5df71f9
commit e97b5a3524
12 changed files with 503 additions and 2 deletions

View File

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