omtechguy (omtechguy (AT) gmail (DOT) com) writes:
Quote:
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 (AT) sommarskog (DOT) 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