| Author |
Message |
Wyatt70
Joined: 29 Jul 2005 Posts: 36 Location: Yonkers, NY
|
Posted: Wed Jan 19, 2011 7:29 pm Post subject: /presql not working |
|
|
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:
| Code: |
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:
| Code: |
Error: Invalid command-line argument: /presql. Please use SQLPackager.exe /? or
SQLPackager.exe /verbose /? for more information. |
Is my syntax wrong? |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 840 Location: My desk.
|
Posted: Thu Jan 20, 2011 8:13 pm Post subject: |
|
|
| /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. |
|
| Back to top |
|
 |
Wyatt70
Joined: 29 Jul 2005 Posts: 36 Location: Yonkers, NY
|
Posted: Fri Jan 21, 2011 4:31 pm Post subject: Re: |
|
|
| james.billings wrote: |
| /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. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group