/presql not working

Wyatt70Wyatt70 Posts: 50
edited January 21, 2011 10:31AM in SQL Packager Previous Versions
I'm using version 6.3.1.122 SQL Packager, and it is not letting me use the "/presql" switch on the command line.

Here is the command I tried to execute:
C:\Program Files (x86)\Red Gate\SQL Packager 6>sqlpackager /argfile:"D:\SQL Projects\CLG Application\3.5 Deployment\SQL Packager Scripts\CLGTempDBConfig.xml" /location:"D:\SQL Projects\CLG Application\3.5 Deployment\SQL Packager Scripts" /presql:"Enable FileStream for CLGTempDB.sql" /postsql:"Drop and Create Clean Up CLGMMCTEMP.sql"

When I run this, I get this error:
Error: Invalid command-line argument: /presql. Please use SQLPackager.exe /? or
SQLPackager.exe /verbose /? for more information.

Is my syntax wrong?

Comments

  • /presql and /postsql are commandline options for the package you generate, not for Packager itself. So once you've generated your .exe from packager you can pass the pre + post sql commands to that.
    Systems Software Engineer

    Redgate Software

  • /presql and /postsql are commandline options for the package you generate, not for Packager itself. So once you've generated your .exe from packager you can pass the pre + post sql commands to that.

    Ok. Thanks for the info.
Sign In or Register to comment.