Committing a sproc change with command line
lkeith
Posts: 8
I have made a change to an sproc in a db not linked to source control (but I could if necessary).
I would like to commit the sproc change to source control using a command line interface.
Is this possible and if so, what can I do?
I would like to commit the sproc change to source control using a command line interface.
Is this possible and if so, what can I do?
lkeith
Comments
more info here:
http://www.red-gate.com/supportcenter/c ... _in_the_cl
use /db1 and /server1 to specify the source
use /scripts2 to specify the target
use /sync to sync to the scripts
And use your source control command line tool to commit to your repository. You'll have to consult the source control tool's documentation to achieve this.
Why is it that you wish to do this?
David Atkinson
Red Gate
Product Manager
Redgate Software
Product Manager
Redgate Software
SQLCompare adds some SQL directives at beginning & end of all sproc scripts and all scripts are CREATE, not ALTER. I had to manually add this to each script I put in the repository. Now I don't have to do that since SQLCompare will now.
Thanks again!