Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

How do you deploy stored procedures when using TFS with Server Management Studio?

$
0
0

I created a server scripts project and added all my thousands of SPs to it. Now, I'm trying to document the deployment process from the project to the database, but I can't find any documentation on how to do it.

I want to be able to do revision control in TFS, with a group of several developers. My setup so far has been:

1. Create a Server Scripts project and add all the stored procedures to it that I want to version control

2. Check that whole thing into TFS

Great - now we're version controlled, but if I want people to make edits in that project, they need to be able to push their changes to the development test database. There doesn't seem to be a built-in way to do this in Server Management Studio. How is this supposed to be accomplished?

I saw another Q/A here about deploying stored procedures using sqlcmd, but that seems like a nasty mess for what I'm trying to do. Is that the only path to accomplish this?

(All of these SPs are TSQL, not CLR)


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>