Re: Integration between VSS and SQL Server
lepa71_at_gmail.com
Date: 02/22/05
- Next message: Hentges: "Re: Changing servers sourcesafe is installed on."
- Previous message: goodhart: "Unix Folder differencing"
- Messages sorted by: [ date ] [ thread ]
Date: 22 Feb 2005 07:29:06 -0800
Hi
I tried to use isqlw.exe like you suggested but when it opens a SP it
is set to "Create" instead of "Alter". How can I fix that?
Thanks
Erland Sommarskog wrote:
> [posted and mailed, please reply in news]
>
> Fernando Parreiras (fparreiras@b2i.com.br) writes:
> > I'm trying to integrate VSS and SQL Server through VID.
> > The VID adds all the Stored Procedures to the VSS
> > Database, but when I try to check them out the option in
> > the VID is disabled. I can add the SPs but I can't check
> > them in or out.
>
> Good. That it is not working, that is.
>
> The integration in Visual Interdev has it all backwards. You don't
> add your source code to version-control that way. Since the
procedures
> are scripted out from SQL Server, you are in fact putting
disassembled
> versions of your code under source code.
>
> OK, scripting usually is correct, but there are worse matters. You
> cannot handles the tables the same way, so it's only a half-baked
> solution.
>
> But what it is a lot worse: the checkins are credited to the user
> that SQL Server runs under, and not the developer that actually
> makes the changes. And this is completely unacceptable.
>
> Use VSS Explorer for all checkins and checkouts. For editing stored
> procedure, Query Analyzer might do. You can add this line to your
> SS.INI:
>
> .sql = C:\program files\Microsoft SQL Server\80\Tools\isqlw.exe
>
> So when you right-click on a file and choose Edit, you will open
> it in Query Analyzer.
>
> Even better might be to use an external editor, such as Textpad or
> UltraEdit. (www.textpad.com, www.ultraedit.com.) You can easily set
> up a command-line tool in these editors, so you can submit an SP
> through a keypress in the editor.
>
> --
> Erland Sommarskog, SQL Server MVP, sommar@algonet.se
> I support PASS - the definitive global community for SQL Server
> professionals - http://www.sqlpass.org
> The PASS Community Summit is in Seattle Nov 19-22, I'll be there. And
you?
- Next message: Hentges: "Re: Changing servers sourcesafe is installed on."
- Previous message: goodhart: "Unix Folder differencing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|