How can I capture the sqlcompare output into a DB table?
mishaluba
Posts: 10
Hello,
I have a large number of customer databases, which are mostly the same, but occasianally some differences creep in. This could be a result of our support group fixing things for individual clients or some customizations. I would like to have visibility into which databases are different from "standard" and how. SQL Compare command line does a great job producing output similar to the one below, but now I would like to capture and store this output in a database table so I can keep track of changes and do all sorts of cool stuff with it. Is there a painless way to do this or do I have to parse the output text file somehow?
Thank you!
Sample output:
Object type Name DB1 DB2
Table [dbo].[table1] >>
Table [dbo].[table234] <> <>
Table [dbo].[table999] <> <>
Table [dbo].[procedure123] >>
Table [dbo].[procedure543] >>
I have a large number of customer databases, which are mostly the same, but occasianally some differences creep in. This could be a result of our support group fixing things for individual clients or some customizations. I would like to have visibility into which databases are different from "standard" and how. SQL Compare command line does a great job producing output similar to the one below, but now I would like to capture and store this output in a database table so I can keep track of changes and do all sorts of cool stuff with it. Is there a painless way to do this or do I have to parse the output text file somehow?
Thank you!
Sample output:
Object type Name DB1 DB2
Table [dbo].[table1] >>
Table [dbo].[table234] <> <>
Table [dbo].[table999] <> <>
Table [dbo].[procedure123] >>
Table [dbo].[procedure543] >>
Comments
http://sdk.red-gate.com/index.php/SQL_C ... XML_import
Hope this helps!