ssms - How can I modify the default file name format for auto generated script files in SQL Server Management Studio? -


our database contains 600 stored procedures , functions. trying better manage changes database scripts without having purchase additional software.

we use > tasks > generate scripts function in sql server management studio automatically generate individual files every stored procedure , function in database.

this article pretty sums steps take achieve this: http://earljon.wordpress.com/2008/04/10/sql-server-2005-scripting-each-objects-to-a-separate-file/

the issue having default naming convention management studio uses file name. suffixes type of script end of file name dbo.name.storedprocedure.sql or dbo.name.userdefinedfunction.sql. want change file name sp_name.sql , fn_name.sql.

is possible customize output file name format within sql server management studio? prefer wizard output file name convention, rather having use separate piece of software batch rename them.

thanks, nick

there's no setting control in ssms, options are:

  • write script rename files after they're generated
  • write script uses smo generate scripts
  • find third-party tool lets control file names

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -