﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / Schema validation / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 20 Jun 2013 02:45:33 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Schema validation</title><link>http://www.sqlservercentral.com/Forums/Topic1039116-391-1.aspx</link><description>And what about try "Transfer database task" in SQL Server integration services to import remote databases and then you can do some comparations?</description><pubDate>Tue, 28 Dec 2010 11:32:20 GMT</pubDate><dc:creator>nekonecny</dc:creator></item><item><title>RE: Schema validation</title><link>http://www.sqlservercentral.com/Forums/Topic1039116-391-1.aspx</link><description>I was thinking about something along those lines, I guess I was hoping somebody already had something they would could share that I could use a starting point or maybe not reinvent something somebody else already invented.</description><pubDate>Tue, 28 Dec 2010 08:17:41 GMT</pubDate><dc:creator>Dustin W. Jones</dc:creator></item><item><title>RE: Schema validation</title><link>http://www.sqlservercentral.com/Forums/Topic1039116-391-1.aspx</link><description>Well then you could look at doing a select on sysobjects, sysindexes and syscolumns that saves those results to a flat file and then compare that to your 'master copy' of each of those files.</description><pubDate>Tue, 28 Dec 2010 08:13:11 GMT</pubDate><dc:creator>Henry Treftz</dc:creator></item><item><title>RE: Schema validation</title><link>http://www.sqlservercentral.com/Forums/Topic1039116-391-1.aspx</link><description>[quote]Do you want to do the compare inside or outside of SQL Server?[/quote] That is do you want a file you would import into the remote SQL server (perhaps as a new DB) and do the compare within SQL Server or do you want to export the local information to a flat file and do a flat file compare?I suppose either way would work. I would like to export the schema from the remote servers to a flat file to the local file system. I could then write a process that resides on the Central master server to collect these flat files from each remote server, import them into a table on the central master server, and then then compare the schema against a master "golden copy". There is no need to compare data, just schema.I do not think SQL compare will work for us.</description><pubDate>Tue, 28 Dec 2010 08:09:38 GMT</pubDate><dc:creator>Dustin W. Jones</dc:creator></item><item><title>RE: Schema validation</title><link>http://www.sqlservercentral.com/Forums/Topic1039116-391-1.aspx</link><description>Do you want to do the compare inside or outside of SQL Server?  That is do you want a file you would import into the remote SQL server (perhaps as a new DB) and do the compare  within SQL Server or do you want to export the local information to a flat file and do a flat file compare?Also what is the amount of data (not schema) that you need to compare (in the KB, MB or GB?)?You might want to take a look at SQL Compare from Red Gate</description><pubDate>Mon, 27 Dec 2010 09:54:26 GMT</pubDate><dc:creator>Henry Treftz</dc:creator></item><item><title>Schema validation</title><link>http://www.sqlservercentral.com/Forums/Topic1039116-391-1.aspx</link><description>Our company has over 5000 sql server instances spread out over the country. The servers are connected to our corporate central data center via a high latency satelite connection. I'm looking for a way to export a our applications schema (tables,constraints,data types..etc) to some type of flat file result (xml,text,....etc) that can be easily transmitted via our network to a central server, imported in to a database, and compared against a "golden" copy of the application database schema. Anybody have any advice or scripts that will export a database schema to a flat file? Thanks</description><pubDate>Fri, 24 Dec 2010 07:49:50 GMT</pubDate><dc:creator>Dustin W. Jones</dc:creator></item></channel></rss>