<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://projects.c3o.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Plugins</title><link>http://projects.c3o.com/files/3/plugins/default.aspx</link><description /><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Build: 60217.2664)</generator><item><title>Simple SQL Bulk Copy</title><link>http://projects.c3o.com/files/3/plugins/entry11.aspx</link><pubDate>Mon, 19 Nov 2007 02:19:08 GMT</pubDate><guid isPermaLink="false">7c5e48ed-0713-4540-a41b-85c44a7fd9ee:11</guid><dc:creator>fred.sobel</dc:creator><slash:comments>73</slash:comments><description>&lt;P&gt;&lt;STRONG&gt;May 2010: &lt;/STRONG&gt;New version located at: &lt;A href="/install/sqlcopy201005/sqlcopy.zip"&gt;http://projects.c3o.com/install/sqlcopy201005/sqlcopy.zip&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Enhancements:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Filters out computed columns  
&lt;LI&gt;Ability to edit select sql for each table. 
&lt;LI&gt;Save copy jobs as xml 
&lt;LI&gt;Console application to run xml copy jobs from batch file&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt; 

&lt;/P&gt;



&lt;P&gt;&lt;B&gt;December 2009:&lt;/B&gt; New very beta version that supports saving and reloading copy jobs from xml files. Also has simple console app to run a copy job from command line. You can get it &lt;A href="/install/sqlcopy1103/sqlcopy.zip"&gt;here&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Thanks to Dan for suggestion on command line version!&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Nov 2009:&lt;/B&gt; Started working on &lt;B&gt;Oracle&lt;/B&gt; support.&lt;/P&gt;&lt;A href="mailto:fcsobel@yahoo.com"&gt;Email&lt;/A&gt; if interesting in testing oracle copy. 
&lt;P&gt;&lt;B&gt;Sept 2009:&lt;/B&gt; Received an enhancement from Matt to "PockyMaster" branch&lt;/P&gt;
&lt;P&gt;Code = &lt;A href="http://sqlcopy.googlecode.com/svn/branches/2.0.0.0/"&gt;http://sqlcopy.googlecode.com/svn/branches/2.0.0.0/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Matt: &lt;/B&gt;&lt;I&gt;I noticed a problem with the 2.0.0.0 branch of Simple SQL Bulk Copy. If the column ordering of a table in the source database doesn't exactly match the ordering in the destination database table, the SqlBulkCopy object may fail to map the columns properly. It looks like this only happens in 2.0.0.0 because it selects columns from the source table by name, whereas 1.0.0.23 does a "SELECT *". I added a bit of code to explicitly map all the columns by name, which seems to fix the problem. &lt;/I&gt;&lt;/P&gt;
&lt;P&gt;April 19, 2009 &lt;SPAN class=Apple-style-span&gt;There is a branch based on PockyMaster's code. You can pull it down here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=Apple-style-span&gt;Code = &lt;A href="http://sqlcopy.googlecode.com/svn/branches/2.0.0.0/"&gt;http://sqlcopy.googlecode.com/svn/branches/2.0.0.0/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=Apple-style-span&gt;Exe = &lt;A href="/install/sqlcopy/simplesqlcopy2.exe"&gt;http://projects.c3o.com/install/sqlcopy/simplesqlcopy2.exe&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=Apple-style-span&gt;&lt;SPAN class=Apple-style-span&gt;&lt;STRONG&gt;PockyMaster: &lt;/STRONG&gt;&lt;EM&gt;" Found some issues with computed columns. I changed the code a bit to filter them. I made some other improvements as well: Selection of nr. of simultaneous copy threads, added extra column to show if the object is a table or a view, added quick selection for selection only tables or only views, added progress notification (every 1000 rows or so the status is updated) + showing when all is copied. Further I fixed the crash when the copy button is pressed twice"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Sept 10 2008: Just added the source to google code: &lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;svn checkout &lt;STRONG&gt;&lt;EM&gt;&lt;A href="http://sqlcopy.googlecode.com/svn/trunk/" target=_blank&gt;http&lt;/EM&gt;&lt;/STRONG&gt;://sqlcopy.googlecode.com/svn/trunk/&lt;/A&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;&lt;/FONT&gt; &lt;/P&gt;
&lt;P&gt;Spotted this &lt;A href="http://www.designovermatter.com/blog/index.cfm/2008/5/18/Houston-we-have-a-problem-with-Data-ImportExport-in-SQL-Server-2005-DTS-Data"&gt;blog post &lt;/A&gt;on the SQL Server 2005 Import/Export issue with nice &lt;A href="http://www.designovermatter.com/blog/code/sqlserver2005/SQL-Server-2005-DTS.pdf"&gt;PDF Workaround document&lt;/A&gt;.  Checkout the PDF for a step by step description on how to export your schema and data.  &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;New Version: &lt;/STRONG&gt;May 03 2008 - Added edit form for pre and post sql.  Changed default post sql to include "WITH CHECK" per Mat's comment below.  Use the &lt;STRONG&gt;SQL&lt;/STRONG&gt; button next to the Delete option to edit the defaul pre and post sql. &lt;/P&gt;
&lt;P&gt;Pre-SQL&lt;/P&gt;
&lt;P&gt;exec sp_msforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT all';&lt;BR&gt;exec sp_msforeachtable 'ALTER TABLE ? DISABLE TRIGGER all';&lt;/P&gt;
&lt;P&gt;Post-SQL&lt;/P&gt;
&lt;P&gt;exec sp_msforeachtable 'ALTER TABLE ? &lt;STRONG&gt;WITH CHECK&lt;/STRONG&gt; CHECK CONSTRAINT all';&lt;BR&gt;exec sp_msforeachtable 'ALTER TABLE ? ENABLE TRIGGER all';&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;New Version:&lt;/STRONG&gt; April 2 2008 - Added options for Check Constraints, Fire Triggers, Table Lock (instead of row level) and Delete Rows:&lt;/P&gt;
&lt;P&gt;&lt;IMG border=0 src="/newoptions.JPG"&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Warning!&lt;/STRONG&gt; The &lt;STRONG&gt;Delete Rows&lt;/STRONG&gt; option will attempt to delete rows for the tables you seelct in the destination database.  As long as you don't have Check Constraints or Fire Triggers selected it will try to disable Constraints and Triggers before attempting to delete.  There is an annoying warning message in case you don't read this.&lt;/P&gt;
&lt;P&gt;&lt;IMG border=0 src="/deletewarning.JPG"&gt; &lt;/P&gt;
&lt;P&gt;Here is the complete delete SQL:&lt;/P&gt;
&lt;P&gt;-- Disable Constraints for all tables&lt;BR&gt;exec sp_msforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT all'&lt;BR&gt;exec sp_msforeachtable 'ALTER TABLE ? DISABLE TRIGGER all'&lt;BR&gt; &lt;BR&gt;-- Delete From each selected table before copying data:&lt;BR&gt;delete from foo&lt;BR&gt; &lt;BR&gt;-- Turn constraints and triggers back on&lt;BR&gt;exec sp_msforeachtable 'ALTER TABLE ? CHECK CONSTRAINT all'&lt;BR&gt;exec sp_msforeachtable 'ALTER TABLE ? ENABLE TRIGGER all'&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Update - Feb 8 2008 - &lt;/STRONG&gt;The more I used this utility the more I got tired of typing in connection strings as I switched between databases so I added a dropdown for source and destination.  It will remember them as they are added.  I ran into &lt;A href="/forums/thread/37.aspx"&gt;some problems &lt;/A&gt;with the initial update but they should be fixed now.  Let me know if you run into problems.  You can always go to Control Panel &gt; Add or Remove Programs &gt; Simple Sql Copy and "Restore the Application to it's previous state" to get back to the old version.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Added Timeout and Batchsize&lt;/STRONG&gt; 
&lt;LI&gt;&lt;STRONG&gt;Added error chekcing..etc.  &lt;/STRONG&gt; 
&lt;LI&gt;&lt;STRONG&gt;Converted to a Click Once Install to keep versions updated&lt;/STRONG&gt; 
&lt;LI&gt;&lt;STRONG&gt;Post your feedback &lt;/STRONG&gt;&lt;A href="/forums/8/ShowForum.aspx"&gt;&lt;STRONG&gt;here&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;After spending a day fighting with identity columns and the SQL Server 2005 Import/Export Wizard I learned about SqlBulkCopy from &lt;A href="http://davidhayden.com/blog/dave/archive/2006/01/13/2692.aspx" target=_blank&gt;a post on David Hayden's blog &lt;/A&gt;and created this quick app to get around the problem.&lt;BR&gt;It will copy data between identical tables and keep identity and null columns intact.  Used in conjunction with the generate script wizard you can make a complete database copy as long as you have sql access. &lt;/P&gt;
&lt;P&gt;Here is the &lt;A href="http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=135905" target=_blank&gt;issue&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Some posts about it:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/chrissk/default.aspx" target=_blank&gt;Tips for Troubleshooting SQL 2005 SSIS&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;A href="http://rip747.wordpress.com/2007/10/01/sql-server-2005-import-export-reset-identity-keys-no-workaround-2005-sucks-period-the-end/" target=_blank&gt;SQL Server 2005: Import / Export reset identity keys… no workaround… 2005 sucks period, the end&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you have problems with the Click Once install you can pull the exe down from:&lt;/P&gt;
&lt;P&gt;&lt;A href="/install/sqlcopy/SimpleSqlCopy.exe"&gt;http://projects.c3o.com/install/sqlcopy/SimpleSqlCopy.exe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can always send me email at &lt;A href="mailto:fcsobel@yahoo.com"&gt;fcsobel@yahoo.com&lt;/A&gt; if you have any questions.&lt;/P&gt;</description><enclosure url="http://projects.c3o.com/install/sqlcopy/SimpleSqlCopy.application" length="5487" type="application/x-ms-application" /></item><item><title>Plugins for 0.2.2.0</title><link>http://projects.c3o.com/files/3/plugins/entry4.aspx</link><pubDate>Thu, 11 Jan 2007 03:38:25 GMT</pubDate><guid isPermaLink="false">7c5e48ed-0713-4540-a41b-85c44a7fd9ee:4</guid><dc:creator>fred.sobel</dc:creator><slash:comments>0</slash:comments><description>My Torrents, PodCasts, uTorrent and Azureus for Mediaportal 0.2.2.0</description><enclosure url="http://projects.c3o.com/MediaPortal/plugins.zip" length="188775" type="application/x-zip-compressed" /></item><item><title>Plugins for 0.2.0.0</title><link>http://projects.c3o.com/files/3/plugins/entry3.aspx</link><pubDate>Thu, 11 Jan 2007 03:37:13 GMT</pubDate><guid isPermaLink="false">7c5e48ed-0713-4540-a41b-85c44a7fd9ee:3</guid><dc:creator>fred.sobel</dc:creator><slash:comments>0</slash:comments><description>My PodCasts, My Torrents, My Azureus and My Utorrent plugins for Mediaportal</description><enclosure url="http://projects.c3o.com/files/3/download.aspx" length="229454" type="application/x-zip-compressed" /></item></channel></rss>