Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-sqlserver > #276

Re: Generate script for few objects only using SqlPubWiz.exe (command line)

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 2011-05-01 11:11 +0200
Organization Erland Sommarskog
Message-ID <Xns9ED871E778B09Yazorman@127.0.0.1> (permalink)
References <ead967de-29ae-41a1-adf0-cba6c36ed130@q32g2000yqn.googlegroups.com>

Show all headers | 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 | NextPrevious in thread | Find similar


Thread

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