473,383 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Stored procedures and Visual SourceSafe

Hi
Is it possible to use Visual Source Safe with SQL Server in
order to keep track of all modifications done to stored procedures?

What are the pros and cons ?

Thanks, Eugene
Jul 23 '05 #1
4 1901

"Eugene" <yg********@hotmail.com> wrote in message
news:ad**************************@posting.google.c om...
Hi
Is it possible to use Visual Source Safe with SQL Server in
order to keep track of all modifications done to stored procedures?

What are the pros and cons ?

Thanks, Eugene


http://groups.google.ch/groups?hl=en...s.ms-sqlserver

Simon
Jul 23 '05 #2
I use it in a way, by generating a create script for my database and
checking that in ("check out from sourcesafe, set to writable, generate
create script over it, check it back in again"). Sucky but works for me.

"Eugene" <yg********@hotmail.com> wrote in message
news:ad**************************@posting.google.c om...
Hi
Is it possible to use Visual Source Safe with SQL Server in
order to keep track of all modifications done to stored procedures?

What are the pros and cons ?

Thanks, Eugene

Jul 23 '05 #3
Eugene (yg********@hotmail.com) writes:
Is it possible to use Visual Source Safe with SQL Server in
order to keep track of all modifications done to stored procedures?
Of course. Just like any other source code, you check out, edit, test and
when you are done you check in. You may find it simpler to use a third-
party editor like Textpad or UltraEdit for editing. From such editors
you can typically invoke a command-line tool, so that would be how you
would load the procedure into SQL Server.

There are several advantages with using these editors:

o They are better editors that the SQL Server tools.
o Since code hits the disk before the server, you know that what you
tested is what you check in.
o You can easily set up SourceSafe so that all files opens in your
editor. Right-click Edit and it's there!

What are the pros and cons ?


Version-control is essential in any serious software development. So
the question of cons is not relevant.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #4
We do the same with VSS. For each SQL project, I have the following
folders.
1. Tables
1.1 - table scripts (Create ONLY)
1.2 - Triggers
1.3 - Constraints/defaults/indexes/PK/FK

2 - Views (Drop & Create - No Alter)

3 - Stored Proc (Drop & Create - No Alter)

4. - DTS (Even though SQL server handles Version control this is just
for completness

5. - Jobs, and other admin scripts.

6. - Test scrips such as data modifications and load scripts.
Hope this helps...!

Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike Brown | last post by:
What methods are people using out there to keep their stored procedures under CM control? We are using CVS for our CM system. Looking for an easy way to get stored procedures scripted out as text...
17
by: serge | last post by:
How can i delete all user stored procedures and all table triggers very fast in a single database? Thank you
1
by: Karl | last post by:
Hi, I am trying to put SQL Server Stored Procedures into Sourcesafe as per the Microsoft Knowledge Base article 818368, but have run into a problem. The web server is SQL Server 2000 running on...
1
by: CLS | last post by:
I have installed the stored procedure / sourcesafe integration from the VS.NET 2003 CD. I've created a new solution and added a database project to it and put it under source control. I've...
7
by: Douglas Buchanan | last post by:
I can't seem to open SQLS2k Stored Procedures in the IDE I am running MDE 2003 Version 7.1.3088 I have a MSDN professional subscription and did a complete install of vs.net Help explains how...
1
by: larzeb | last post by:
I am trying to place Stored Procedures under the control of Visual SourceSafe. I right click on the Server Explorer\Data Connections\ServerName\Stored Procedures and select Add to Source...
3
by: Ben | last post by:
Dear MySQL experts, I have a website that is using MS SQL Server 2000 with ASP scripting. I want to switch over to MySQL, but I'm just sticking my toes in the water at the moment to see if it...
0
by: athos | last post by:
Previously, we could use Visual Studio .Net 2002 combined with Visual SourceSafe 6.0 to maintain version control for Stored Procedures. (refer to "How to add SQL Server 2000 Stored Procedures to...
10
by: Dick | last post by:
Using Visual Studio 2003 you were able to manage SQL stored procedures with Visual Source Safe. So long as Visual Studio was used as the editor, it was imposible to make a change to a stored...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.