<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>abi.exdream.com - Benjamin Nitschke's Blog - SQL</title>
    <link>http://exdream.no-ip.info/blog/</link>
    <description>Benjamin Nitschke's Blog about .NET, Game Development and my daily life.</description>
    <language>en-us</language>
    <copyright>abi.exdream.com</copyright>
    <lastBuildDate>Thu, 31 Jan 2008 19:10:32 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>abi@exDream.com</managingEditor>
    <webMaster>abi@exDream.com</webMaster>
    <item>
      <trackback:ping>http://exdream.no-ip.info/blog/Trackback.aspx?guid=8c7cff4a-3610-4200-a52b-302c6f0c331b</trackback:ping>
      <pingback:server>http://exdream.no-ip.info/blog/pingback.aspx</pingback:server>
      <pingback:target>http://exdream.no-ip.info/blog/PermaLink,guid,8c7cff4a-3610-4200-a52b-302c6f0c331b.aspx</pingback:target>
      <dc:creator>Benjamin Nitschke (abi)</dc:creator>
      <wfw:comment>http://exdream.no-ip.info/blog/CommentView,guid,8c7cff4a-3610-4200-a52b-302c6f0c331b.aspx</wfw:comment>
      <wfw:commentRss>http://exdream.no-ip.info/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8c7cff4a-3610-4200-a52b-302c6f0c331b</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">In the past I usually updated any local
database changes directly at the server everytime I uploaded something. If your database
is small and the changes occur not very often, this is not a big issue, but once the
database grows and especially if you update something here and there very often, it
is an absolute waste of time and annoying to do all this by hand. The SQL Management
Studio does not really help you out like for example when you are trying to backup
data or restore them again. You can connect to two databases, but you can't even have
them side by side in a window and you certainly cannot drop anything from one db to
the other. You will be able to copy some data from one table into a table of the other
db, but that is pretty much about it.<br /><br />
Scripts are helpful, but if you are not a SQL pro and do not want to waste even more
time getting involved with that (keep in mind I did most of my SQL coding in either
LinQ or some other object releational mapper like EntitySpaces). I checked out some
tools a year ago, but saw not really the need to purcase them (especially when you
need these tools once a month for 5 minutes and they cost like 500 bucks). I think
I bought something cheap and crappy for a few bugs, but it does not work anylonger
and did not support my 64bit system. If you do a google search on sql tools you will
find a lot of tools, and quite a lot cheap and crappy ones too, probably also quite
a few free tools. But the more business related the problem is, the more unlikely
it is to find freeware and open source (nobody wants to do this for free). Sometimes
I get lucky and find exactly what I'm looking for and it only costs somethink like
19 bucks, then it is ok, even if you use it just for a short while.<br /><a href="http://www.teratrax.com/tdc/"><br /><img src="http://www.teratrax.com/images/logo160x50.gif" border="0" /></a><br />
Anyway, today I checked out some tools again, first the <a href="http://www.teratrax.com/tdc/">Teratrax
Database Compare tool</a>, which is nice and simple, but does cost quite a bit ($200
per developer). After I entered all the data for both databases it was able to figure
out where there are changes, but once I tried to actually synchronize the database
schemas (remember, I'm not interested in the data, copying that over is not so hard,
I even have some functions in my code that do that) the program stopped and cleared
all fields. I checked both dbs and nothing happend. I tried it some more times, but
no errors appeared, it just did not work. This was very frustrating.<br /><a href="http://www.red-gate.com"><br /><img src="http://www.red-gate.com/images/logo_v4.1.gif" border="0" /></a><br />
Instead I went to the next google search result ^^ It was <a href="http://www.red-gate.com/">SQL
Compare 6 from Red-Gate</a>. I'm already a Red-Gate customer (using the <a href="http://www.red-gate.com/products/ants_profiler/index.htm">Ants
Profiler</a> quite a lot and recently have been using the new <a href="http://www.red-gate.com/products/exception_hunter/index.htm">Exception
Hunter</a> tool), but I always found their SQL tools to expensive for me, especially
since I do not do much SQL work (at least I don't want to ^^). Anyway, I fired up
SQL Compare after installing their whole SQL toolbelt and quickly entered the connection
data for both db connections, clicked next a couple of times, saw some nice statistics
and messages and was all done. I checked my local database I used for testing and
yes, everything from the other server was there, with default values, descriptions
and so on. SQL Compare 6 is priced at around $300, so even more expensive then Teratrax
and certainly more expensive than some of the other tools I have encountered. But
it works and if I need it again for a few more times in the next 2 weeks (the trial
period) I will probably buy it. The amazing thing is that they claim they have already
150 000 customers of the SQL tools, that is quite a lot of money they have generated
with some developer-specific-tools. But then again, more than a million people have
downloaded XNA Game Studio Express and I would not have guessed there are even so
many programmers around (at least I do not see them in the real world, maybe they
are all hiding).<br /><br />
Ok, end of story, all the boring database stuff is well again. Also makes generating
database code much faster when done locally from a synchronized database instead of
pulling the schema from some online server.<br /><p></p><img width="0" height="0" src="http://exdream.no-ip.info/blog/aggbug.ashx?id=8c7cff4a-3610-4200-a52b-302c6f0c331b" /></body>
      <title>SQL Tools for synchronizing databases</title>
      <guid isPermaLink="false">http://exdream.no-ip.info/blog/PermaLink,guid,8c7cff4a-3610-4200-a52b-302c6f0c331b.aspx</guid>
      <link>http://exdream.no-ip.info/blog/2008/01/31/SQLToolsForSynchronizingDatabases.aspx</link>
      <pubDate>Thu, 31 Jan 2008 19:10:32 GMT</pubDate>
      <description>In the past I usually updated any local database changes directly at the server everytime I uploaded something. If your database is small and the changes occur not very often, this is not a big issue, but once the database grows and especially if you update something here and there very often, it is an absolute waste of time and annoying to do all this by hand. The SQL Management Studio does not really help you out like for example when you are trying to backup data or restore them again. You can connect to two databases, but you can't even have them side by side in a window and you certainly cannot drop anything from one db to the other. You will be able to copy some data from one table into a table of the other db, but that is pretty much about it.&lt;br&gt;
&lt;br&gt;
Scripts are helpful, but if you are not a SQL pro and do not want to waste even more
time getting involved with that (keep in mind I did most of my SQL coding in either
LinQ or some other object releational mapper like EntitySpaces). I checked out some
tools a year ago, but saw not really the need to purcase them (especially when you
need these tools once a month for 5 minutes and they cost like 500 bucks). I think
I bought something cheap and crappy for a few bugs, but it does not work anylonger
and did not support my 64bit system. If you do a google search on sql tools you will
find a lot of tools, and quite a lot cheap and crappy ones too, probably also quite
a few free tools. But the more business related the problem is, the more unlikely
it is to find freeware and open source (nobody wants to do this for free). Sometimes
I get lucky and find exactly what I'm looking for and it only costs somethink like
19 bucks, then it is ok, even if you use it just for a short while.&lt;br&gt;
&lt;a href="http://www.teratrax.com/tdc/"&gt;
&lt;br&gt;
&lt;img src="http://www.teratrax.com/images/logo160x50.gif" border="0"&gt;&lt;/a&gt;
&lt;br&gt;
Anyway, today I checked out some tools again, first the &lt;a href="http://www.teratrax.com/tdc/"&gt;Teratrax
Database Compare tool&lt;/a&gt;, which is nice and simple, but does cost quite a bit ($200
per developer). After I entered all the data for both databases it was able to figure
out where there are changes, but once I tried to actually synchronize the database
schemas (remember, I'm not interested in the data, copying that over is not so hard,
I even have some functions in my code that do that) the program stopped and cleared
all fields. I checked both dbs and nothing happend. I tried it some more times, but
no errors appeared, it just did not work. This was very frustrating.&lt;br&gt;
&lt;a href="http://www.red-gate.com"&gt;
&lt;br&gt;
&lt;img src="http://www.red-gate.com/images/logo_v4.1.gif" border="0"&gt;&lt;/a&gt;
&lt;br&gt;
Instead I went to the next google search result ^^ It was &lt;a href="http://www.red-gate.com/"&gt;SQL
Compare 6 from Red-Gate&lt;/a&gt;. I'm already a Red-Gate customer (using the &lt;a href="http://www.red-gate.com/products/ants_profiler/index.htm"&gt;Ants
Profiler&lt;/a&gt; quite a lot and recently have been using the new &lt;a href="http://www.red-gate.com/products/exception_hunter/index.htm"&gt;Exception
Hunter&lt;/a&gt; tool), but I always found their SQL tools to expensive for me, especially
since I do not do much SQL work (at least I don't want to ^^). Anyway, I fired up
SQL Compare after installing their whole SQL toolbelt and quickly entered the connection
data for both db connections, clicked next a couple of times, saw some nice statistics
and messages and was all done. I checked my local database I used for testing and
yes, everything from the other server was there, with default values, descriptions
and so on. SQL Compare 6 is priced at around $300, so even more expensive then Teratrax
and certainly more expensive than some of the other tools I have encountered. But
it works and if I need it again for a few more times in the next 2 weeks (the trial
period) I will probably buy it. The amazing thing is that they claim they have already
150 000 customers of the SQL tools, that is quite a lot of money they have generated
with some developer-specific-tools. But then again, more than a million people have
downloaded XNA Game Studio Express and I would not have guessed there are even so
many programmers around (at least I do not see them in the real world, maybe they
are all hiding).&lt;br&gt;
&lt;br&gt;
Ok, end of story, all the boring database stuff is well again. Also makes generating
database code much faster when done locally from a synchronized database instead of
pulling the schema from some online server.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://exdream.no-ip.info/blog/aggbug.ashx?id=8c7cff4a-3610-4200-a52b-302c6f0c331b" /&gt;</description>
      <comments>http://exdream.no-ip.info/blog/CommentView,guid,8c7cff4a-3610-4200-a52b-302c6f0c331b.aspx</comments>
      <category>All;Development;meinSport.de;Other;Programming;SQL</category>
    </item>
  </channel>
</rss>