dbinstall.cmd 360 B

123456789
  1. REM ** Creates BO database in localDB instance **
  2. REM ** If BO database exists skip if -force argument no defined **
  3. REM ** If BO database exists delete database and creates new one if -force argument efined **
  4. REM ** Usage: dbinstall [-force] **
  5. @echo off
  6. set oldcd=%cd%
  7. cd %BOPath%
  8. %BOConsole% dbinstall -srv:(localdb)\mssqllocaldb -db:BO -isec %1
  9. cd %oldcd%