Hi there
I am testing a batch file using Roundhouse which is running through a set of creation scripts for a database.
Because I am repeatedly testing it, to see that the scripts pass, I have to drop the database manually in SQL Server Management Studio
Is there a way that I can issue a drop command before the creation.
Below is the bat file extract that I am using:
@echo off
SET DIR=%~d0%~p0%
echo %DIR%
SET
database.name="NewPricingTool"
SET sql.files.directory="%DIR%RestoreScripts"
echo %sql.files.directory%
"%DIR%Console\rh.exe" /d=%
database.name% /f=%sql.files.directory% /s=%server.database% /vf=%version.file% /vx=%version.xpath% /r=%repository.path% /env=%environment% /simple
pause