[성현모] AuthApi 분리
This commit is contained in:
18
Projects/SystemX.Core/DBPatch/sqlScripts/_CreateScript.bat
Normal file
18
Projects/SystemX.Core/DBPatch/sqlScripts/_CreateScript.bat
Normal file
@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
|
||||
SET ServerIP=%1
|
||||
SET ServerPort=%2
|
||||
SET UserID=%3
|
||||
SET Passwd=%4
|
||||
SET DBName=%5
|
||||
|
||||
SET SqlCmdOption=-C -U %UserID% -P %Passwd% -S %ServerIP%,%ServerPort% -f 65001 -o ..\logs\%DBName%.log
|
||||
SET DatabaseName=%DBName%
|
||||
sqlcmd %SqlCmdOption% -i .\SystemX.DB.AccountDB_Create.sql
|
||||
if errorlevel 1 goto errexit
|
||||
goto end
|
||||
:errexit
|
||||
echo DB Patch Failed
|
||||
goto end
|
||||
:end
|
||||
@echo on
|
||||
Reference in New Issue
Block a user