SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

DB to VSS V2

By David Jackson,

This is an update/improved version of my script that I'm pleased to see is rated in the top 10! It will script off all of your objects in your database and if they differ from the scripted version in your VSS db, automatically check it in. If the object does not exist in VSS, this script creates it. I use it to make ensure if code gets overwritten, I have the previous version. V2 of this VBScript is now called from a batch file, so you can pass in the required parameters instead of having to hack to the script about. Save the script as dbtovss2.vbs and follow the instructions in the comments at the top of the script. I have amended the comments at the top of the script to include instructions on how to register TLBINF32.DLL

Total article views: 729 | Views in the last 30 days: 1
Related Articles

Versioning database release and permission scripts

How do you version permission scripts


Sql Validation

Versioned script


Generating scripts for previous versions of SQL

I make a habit of using the latest version of SSMS even if I’m not working with the latest version.....


Version Control your Stored Procedures

This shows a method for generating scripts for SQL Server stored procedures and functions so they ca...


Split string using multiple delimiters - version 2

http://www.sqlservercentral.com/scripts/split+string/117123/ The above script will split upto 256...