How can we help you today? How can we help you today?

Prepend text to command line script file

As a future feature request, would it be possible to add an option to prepend text to a saved script file generated from the command line? This could aid in reducing human error as the default database when starting management studio is not always the one I am targeting.

In the ideal world I would like to be able to add

"use </db2:argument>
go"

to the top of the file to prevent those occasions where I do not change from the default database to the desired database.

Keep up the great work!
--Brian
brian.merz
0

Comments

2 comments

  • Chris.Allen
    Thanks for your positive comments. I will follow this up with the product management team.
    Chris.Allen
    0
  • Chris.Allen
    SQL Compare has an option to add a USE Database statement to it's script. It's off by default so simply needs to be enabled.
    Chris.Allen
    0

Add comment

Please sign in to leave a comment.