Generic Scripts
bermudabob
Posts: 5
Hi,
We've recently put our databases into TFS 2013 with Source Control 3, and all is well with the world.
A query has arisen from our team, and I wasn't sure of an answer.
Basically, each team member gradually builds up a collection of very useful scripts in .sql files that they keep and use for time saving purposes. These aren't stored procedures and aren't tied to a particular database.
Now, we could create a VS project and stash these in that so that everyone can get access to it, but it would be nice to be able to have them available in SSMS directly.
Is there any way to do this? If not, can it be added to the 'nice to have in a future version' list?
Cheers,
We've recently put our databases into TFS 2013 with Source Control 3, and all is well with the world.
A query has arisen from our team, and I wasn't sure of an answer.
Basically, each team member gradually builds up a collection of very useful scripts in .sql files that they keep and use for time saving purposes. These aren't stored procedures and aren't tied to a particular database.
Now, we could create a VS project and stash these in that so that everyone can get access to it, but it would be nice to be able to have them available in SSMS directly.
Is there any way to do this? If not, can it be added to the 'nice to have in a future version' list?
Cheers,
Rob Marsh
Aero Developer
Scuderia Toro Rosso F1 Team.
Aero Developer
Scuderia Toro Rosso F1 Team.
Comments
The provider is here:
http://visualstudiogallery.msdn.microso ... 937d3d88d6
(you'll need to install the TFS client tools (Team Explorer) as well, but you probably have this already)
Another way could be to attach useful scripts to SQL Prompt snippets and store these in a shared network drive. This provides sharing, but not versioning.
I just found an article explaining how it might be possible to achieve sharing using Templates. I've not tried this myself, but it looks plausible:
http://tinyurl.com/oj7vgkd
Product Manager
Redgate Software
We've gone with this method as its simple and we can group the queries by project for specific scripts with an additional Generic project for non-specific ones.
Cheers,
Aero Developer
Scuderia Toro Rosso F1 Team.