Red Gate forums :: View topic - Does SSC3 handle custom scripts?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Source Control 3
SQL Source Control 3 forum

Does SSC3 handle custom scripts?

Search in SQL Source Control 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
adam12



Joined: 25 Apr 2013
Posts: 1

PostPosted: Thu Apr 25, 2013 10:45 am    Post subject: Does SSC3 handle custom scripts? Reply with quote

Hi, I have just installed your tool and checked help/sample video but I haven't found way how can I commit my custom script - is it possible?

My situation looks like following:
1) Initial commit with database objects
2) Some Update script - where this should be placed? this script for example disabled all users in table - and what if I have many custom scripts and they must be executed in order?

Thanks in advance
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6677

PostPosted: Mon Apr 29, 2013 1:50 pm    Post subject: Reply with quote

Hello,

SQL Source Control is designed to turn a database into individual scripts that go into a version control system, so it is not really designed to allow you to put scripts in-line with those created by Source Control.

However, you may be able to leverage migration scripts - these are commands you can slip into the deployment updates. Please see:
https://documentation.red-gate.com/display/SOC32/Working+with+migrations+scripts
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group