23 lines
538 B
Batchfile
23 lines
538 B
Batchfile
@echo off
|
|
CD .\sqlScripts\
|
|
|
|
::log
|
|
IF NOT EXIST .\logs mkdir logs
|
|
|
|
::DB 정의 스키마
|
|
SET Schema=SystemX.DB.AccountDB
|
|
|
|
::연결정보
|
|
SET ServerIP=127.0.0.1
|
|
SET ServerPort=1433
|
|
SET UserID=SystemX
|
|
SET Passwd=X
|
|
SET DBName=AccountDB
|
|
|
|
@echo off
|
|
::generate update script
|
|
CALL _UpdateScriptGenerate.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd% %DBName%
|
|
|
|
::Default DB
|
|
::CALL _UpdateDB.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd% %DBName%
|
|
::CALL _UpdateDB.bat %Schema% %ServerIP% %ServerPort% %UserID% %Passwd% %DBName%_DEV |