Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Management Studio 2005 and Source Control

I have all my SQL stored in source control in the following structure

Database
    Tables
    Stored Procs
    Views
    Static Data

I'd like to tie my source control into SSMS, which seemingly supports source control, but SSMS wants to put all the scripts into one folder, which is a non-starter for me.

Is it possible to get SSMS to work my existing structure? If not, is SSMS 2008 a bit more flexible in that respect?

like image 582
AngryHacker Avatar asked Nov 27 '25 22:11

AngryHacker


1 Answers

You could use SQLDMO (obsolete) to script them out or SMO to do it. Or a third party tool like Apex SQL Script with some automation.

like image 162
Cade Roux Avatar answered Nov 29 '25 19:11

Cade Roux



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!