Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Version control/setting up development server??

Author  Topic 

rav3n0u5
Yak Posting Veteran

88 Posts

Posted - 2006-04-25 : 15:36:42
I am looking for some insight into setting up a good development environment that I can use to track changes, and obviously use for development. Any thoughts or ideas? I currently save changes to a SQL file and label it with the date and change number for that date. This seems inefficient to me. It is difficult to know which scripts were applied to the production db, and often the changes have to be made very quickly to the production environment.

I am the sole database programmer, but I want a system that could scale up to include many programmers.

Anything?

Thanks!

rav3n0u5
Yak Posting Veteran

88 Posts

Posted - 2006-04-25 : 18:15:17
I read Graz's article found here: http://www.sqlteam.com/item.asp?ItemID=17320

It is fairly close to what I am looking for, although it does defer to a third party utility for version control. I have access to Visual Source Safe, but in my limited experience with it, I have found it to be clunky.

Another article in the SQLTeam repository addresses using VSS keywords (lost the URL). This coupled with Graz's method seems interesting. I think I am still looking though...



Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-04-25 : 18:29:49
also see here http://weblogs.sqlteam.com/markc/archive/2004/03/31/1160.aspx



KH


Go to Top of Page

rav3n0u5
Yak Posting Veteran

88 Posts

Posted - 2006-04-25 : 18:40:59
Cool - thanks for the link.

I actually do use that generate scripts feature and I have a way of versioning those scripts (date, by sequence of creation, by object seems to be a good naming convention). But the problem with that method is I believe it involves too much human intervention. I have forgotten to generate scripts before and then wondered why I couldn't get a later sproc working because a table didn't exist. Of course that example has an easy fix. Others however, are more complicated.

It seems that there are two approaches; a snapshot approach, and a more constant flow approach (a la replication types?). I guess I am looking for a good snapshot approach, or flow approach that will catch events rather than having someone log them.



Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-04-25 : 20:59:44
if you're a developer you may want to create an interface like QA or EM, I did one before but only caters to sprocs, udfs and views (because those were the only objects I allow developers to create or modify directly)

i use windows authentication plus and approle with sa privilege
there's a lot of parsing and validations aside from the fact that every change is logged onto another database within the server

It took me a couple of man-hours to complete the utility but it was worth it

HTH

--------------------
keeping it simple...
Go to Top of Page

rav3n0u5
Yak Posting Veteran

88 Posts

Posted - 2006-04-26 : 04:51:50
Unfortunately I am not proficient enough in anything to make an interface like that.

I ended up installing VSS directly on the sql server and intend to use the plug-in feature. Anyone have experience with it? Is it decent?
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-04-26 : 05:07:50
You might be interested on some comments on VSS in this thread http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=64969&SearchTerms=Visual,Source,Safe



KH


Go to Top of Page

rav3n0u5
Yak Posting Veteran

88 Posts

Posted - 2006-04-26 : 14:17:20
That's what I'm talking about! Thanks!
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-26 : 14:49:38
quote:

I ended up installing VSS directly on the sql server and intend to use the plug-in feature.



That is not a good idea. VSS should be installed on the client machines and not directly on the database server.

Tara Kizer
aka tduggan
Go to Top of Page

rav3n0u5
Yak Posting Veteran

88 Posts

Posted - 2006-04-26 : 16:30:37
Correction: I installed the vss client software. The server software is on another machine on another network. I don't know if this is any better.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2006-04-26 : 16:33:14
No it's not. It isn't needed on the database server. It is only needed on the client machines.

Tara Kizer
aka tduggan
Go to Top of Page
   

- Advertisement -