feat: prepare warehouse 01 floor 1 inbound pilot
This commit is contained in:
11
scripts/layer1-inbound-pilot/check-layer1-inbound-pilot.cmd
Normal file
11
scripts/layer1-inbound-pilot/check-layer1-inbound-pilot.cmd
Normal file
@@ -0,0 +1,11 @@
|
||||
@echo off
|
||||
setlocal
|
||||
if "%~2"=="" (
|
||||
echo Usage: %~nx0 SQL_SERVER DATABASE
|
||||
exit /b 2
|
||||
)
|
||||
set "SCRIPT_DIR=%~dp0"
|
||||
sqlcmd -S "%~1" -d "%~2" -E -b -r1 -i "%SCRIPT_DIR%check-layer1-inbound-pilot.sql"
|
||||
if errorlevel 1 exit /b 1
|
||||
echo LAYER1_INBOUND_PILOT_CHECK_OK
|
||||
exit /b 0
|
||||
Reference in New Issue
Block a user