Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.ms-sqlserver > #276
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Erland Sommarskog <esquel@sommarskog.se> |
| Newsgroups | comp.databases.ms-sqlserver |
| Subject | Re: Generate script for few objects only using SqlPubWiz.exe (command line) |
| Date | Sun, 01 May 2011 11:11:49 +0200 |
| Organization | Erland Sommarskog |
| Lines | 19 |
| Message-ID | <Xns9ED871E778B09Yazorman@127.0.0.1> (permalink) |
| References | <ead967de-29ae-41a1-adf0-cba6c36ed130@q32g2000yqn.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx02.eternal-september.org; posting-host="DD6dU+BfJNjsjSP4/K/V7w"; logging-data="724"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+PzZVYTgbYkw5aEw9E0AI2" |
| User-Agent | Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) |
| Cancel-Lock | sha1:bdUXfonvpZzTcbmrEiYD69BvCsU= |
| Xref | x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:276 |
Show key headers only | View raw
omtechguy (omtechguy@gmail.com) writes: > I am using SqlPubWiz.exe command line to generate scripts for entire > database but i couldn't find a command line parameter that will allow > me to generate script for few objects only and not for the entire > database. for specific object i am using the GUI but i want to do it > using a command line for automation.... I have not used the Wizard on command-line, but since this a "bonus tool" so to speak, it may not have that capability. You may reached the point where you need use Powershell or similar for your work. -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
Back to comp.databases.ms-sqlserver | Previous | Next — Previous in thread | Find similar
Generate script for few objects only using SqlPubWiz.exe (command line) omtechguy <omtechguy@gmail.com> - 2011-05-01 01:55 -0700 Re: Generate script for few objects only using SqlPubWiz.exe (command line) Erland Sommarskog <esquel@sommarskog.se> - 2011-05-01 11:11 +0200
csiph-web