command line setting database location how to ?
rlmiller9
Posts: 4
How can I fill in the "database directory" and the "log directory" with defaults when running from the command line ?
This is of course off of the advanced make a new database dialog.
Thanks
Ray :roll:
This is of course off of the advanced make a new database dialog.
Thanks
Ray :roll:
This discussion has been closed.
Comments
Running a package from the command line does not allow you to specify the database and log file locations explicitly. You'd need to work around this possibly by running a create database command using osql.exe in the script first and then not using the /makedatabase switch on the package.
Have not gotten that far yet, but thought about it a bit and suspected that might be the utility of the C# project ?
THanks
Ray :P
Maybe next version ?
Got an idea, send me the source and I will do it
Haha
Ray
c:\program files\red gate sql bundle\sql packager code templates\c#!