<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>ExportSqlCE Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/ExportSqlCE/Wiki/View.aspx?title=Home</link><description>ExportSqlCE Wiki Rss Description</description><item><title>Updated Wiki: Command line utilities</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;version=18</link><description>&lt;div class="wikidoc"&gt;This project contains 4 command line applications:&lt;br /&gt;&lt;br /&gt;- ExportSqlCE - for scripting an entire SQL Server Compact 3.5 database&lt;br /&gt;- ExportSqlCE40 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;- ExportSqlCE31 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;and&lt;br /&gt;- Export2SqlCE - for scripting an entire SQL Server 2005/2008 database providing SQL Compact compatible T-SQL statements.&lt;br /&gt;&lt;br /&gt;Command line for ExportSqlCE, ExportSqlCE40 and ExportSqlCE31:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;exportsqlce
Usage :
  ExportSQLCE.exe [SQL Compact Connection String] [output file location] [exclude] [schemaonly|dataonly] [saveimages] [sqlazure]
Examples:
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql exclude:Shippers,Products

Usage: (To create a schema diff script)
  ExportSQLCE.exe diff [SQL Compact or SQL Server Connection String (source)] [SQL Compact or SQL Server Connection String (target)] [output file location]
Example :
  ExportSQLCE.exe diff &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; &amp;quot;Data Source=.\SQLEXPRESS,Inital Catalog=Northwind&amp;quot; NorthwindDiff.sql

Usage: (To create a database graph)
  ExportSQLCE.exe dgml [SQL Compact or SQL Server Connection String (source)] [output file location]
Example:
  ExportSQLCE.exe dgml &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\northwind.dgml

Usage: (To create a Windows Phone DataContext)
  ExportSQLCE.exe wpdc [SQL Compact or SQL Server Connection String (source)] [output file location]
Example :
  ExportSQLCE.exe wpdc &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\Northwind.cs

Usage : (To script an entire database to SQLite format)
 ExportSQLCE.exe [SQL CE Connection String] [output file location] [sqlite]
Example:
 ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql sqlite
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Command line for Export2SqlCE:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Usage :
 Export2SQLCE.exe [SQL Server Connection String] [output file location] [[exclude]] [[schemaonly]] [[saveimages]] [[preservedateanddatetime2]] [[keepschema]]
 (exclude, schemaonly, saveimages, keepschema and preservedateanddatetime2 are optional parameters)

Examples :
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql schemaonly
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql exclude:dbo.Shippers,dbo.Suppliers

&lt;/pre&gt;&lt;br /&gt;Notice that the SQL Server Export currently does not support identically named tables in different schemas.&lt;br /&gt;&lt;br /&gt;Command line utilities optional parameters:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;exclude&lt;/b&gt;:&lt;br /&gt;- list of tables to be excluded from scripting, separated by commas - sample: exclude:dbo.Shippers,dbo.Products&lt;br /&gt;&lt;br /&gt;&lt;b&gt;schemaonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to not contain any data, by only table and constraint definitions - so no INSERT statments in the script.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dataonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to contain INSERT statments only.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;saveimages&lt;/b&gt;&lt;br /&gt;- this will cause all image field data to be written to individual files rather than be included in the script. The files are named &amp;lt;NewGuid()&amp;gt;.blob, and are in the same folder as the generated script. The resulting script and related files can used by &lt;a href="http://sqlcecmd.codeplex.com/"&gt;SqlCeCmd&lt;/a&gt; to import into a SQL Compact database file. This can be useful if your database contains large image fields (5-10 MB or more), in order to avoid out of memory errors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlazure&lt;/b&gt;&lt;br /&gt;- this will cause primary keys to be scripted before any INSERT statements, batch INSERTS in a GO per 1000 statements, and removes support for ROWGUIDCOL (which is not available in SQL Azure)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;diff&lt;/b&gt;&lt;br /&gt;- this will generate a SQL Schema Diff script based on differences between source and target data sources.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dgml&lt;/b&gt;&lt;br /&gt;- this will generate a .dgml file and releated .sqlce/.sql files in the specified folder, that contains a diagram of the data source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpdc&lt;/b&gt;&lt;br /&gt;- this will generate a .cs or .vb file with a Windows Phone specific Linq to SQL DataContext and related classes. Requires the Windows SDK version 7 to be installed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlite&lt;/b&gt;&lt;br /&gt;- this will generate a .sql script in SQLite3 dump file format, for more information see my blog post &lt;a href="http://erikej.blogspot.dk/2012/08/exporting-sql-server-compact-to-sqlite.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;preservedateanddatetime2&lt;/b&gt;&lt;br /&gt;- if this switch is &lt;b&gt;not&lt;/b&gt; set (the default), Server columns of type &amp;quot;date&amp;quot; and &amp;quot;datetime2&amp;quot; are converted to datetime columns (which could cause data loss). If the switch is set, the columns are converted to nvarchar(10) and nvarchar(27), preventing any data loss.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;keepschema&lt;/b&gt;&lt;br /&gt;- this will create table names like &amp;quot;dbo.Shippers&amp;quot; instead of just &amp;quot;Shippers&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Thu, 10 Jan 2013 08:16:02 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command line utilities 20130110081602A</guid></item><item><title>Updated Wiki: Command line utilities</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;version=17</link><description>&lt;div class="wikidoc"&gt;This project contains 4 command line applications:&lt;br /&gt;&lt;br /&gt;- ExportSqlCE - for scripting an entire SQL Server Compact 3.5 database&lt;br /&gt;- ExportSqlCE40 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;- ExportSqlCE31 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;and&lt;br /&gt;- Export2SqlCE - for scripting an entire SQL Server 2005/2008 database providing SQL Compact compatible T-SQL statements.&lt;br /&gt;&lt;br /&gt;Command line for ExportSqlCE, ExportSqlCE40 and ExportSqlCE31:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;exportsqlce
Usage :
  ExportSQLCE.exe [SQL Compact Connection String] [output file location] [exclude] [schemaonly|dataonly] [saveimages] [sqlazure]
Examples:
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql exclude:Shippers,Products

Usage: (To create a schema diff script)
  ExportSQLCE.exe diff [SQL Compact or SQL Server Connection String (source)] [SQL Compact or SQL Server Connection String (target)] [output file location]
Example :
  ExportSQLCE.exe diff &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; &amp;quot;Data Source=.\SQLEXPRESS,Inital Catalog=Northwind&amp;quot; NorthwindDiff.sql

Usage: (To create a database graph)
  ExportSQLCE.exe dgml [SQL Compact or SQL Server Connection String (source)] [output file location]
Example:
  ExportSQLCE.exe dgml &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\northwind.dgml

Usage: (To create a Windows Phone DataContext)
  ExportSQLCE.exe wpdc [SQL Compact or SQL Server Connection String (source)] [output file location]
Example :
  ExportSQLCE.exe wpdc &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\Northwind.cs

Usage : (To script an entire database to SQLite format)
 ExportSQLCE.exe [SQL CE Connection String] [output file location] [sqlite]
Example:
 ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql sqlite
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Command line for Export2SqlCE:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Usage :
 Export2SQLCE.exe [SQL Server Connection String] [output file location] [[exclude]] [[schemaonly]] [[saveimages]] [[preservedateanddatetime2]] [[keepschema]]
 (exclude, schemaonly, saveimages, keepschema and preservedateanddatetime2 are optional parameters)

Examples :
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql schemaonly
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql exclude:dbo.Shippers,dbo.Suppliers

&lt;/pre&gt;&lt;br /&gt;Notice that the SQL Server Export currently does not support identically named tables in different schemas.&lt;br /&gt;&lt;br /&gt;Command line utilities optional parameters:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;exclude&lt;/b&gt;:&lt;br /&gt;- list of tables to be excluded from scripting, separated by commas - sample: exclude:dbo.Shippers,dbo.Products&lt;br /&gt;&lt;br /&gt;&lt;b&gt;schemaonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to not contain any data, by only table and constraint definitions - so no INSERT statments in the script.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dataonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to contain INSERT statments only.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;saveimages&lt;/b&gt;&lt;br /&gt;- this will cause all image field data to be written to individual files rather than be included in the script. The files are named &amp;lt;NewGuid()&amp;gt;.blob, and are in the same folder as the generated script. The resulting script and related files can used by &lt;a href="http://sqlcecmd.codeplex.com/"&gt;SqlCeCmd&lt;/a&gt; to import into a SQL Compact database file. This can be useful if your database contains large image fields (5-10 MB or more), in order to avoid out of memory errors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlazure&lt;/b&gt;&lt;br /&gt;- this will cause primary keys to be scripted before any INSERT staements, batch INSERTS in a GO per 1000 statements, and removes support for ROWGUIDCOL (which is not available in SQL Azure)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;diff&lt;/b&gt;&lt;br /&gt;- this will generate a SQL Diff script based on differences between source and target data sources.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dgml&lt;/b&gt;&lt;br /&gt;- this will generate a .dgml file and releated .sqlce/.sql files in the specified folder, that contains a diagram of the data source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpdc&lt;/b&gt;&lt;br /&gt;- this will generate a .cs or .vb file with a Windows Phone specific Linq to SQL DataContext and related classes. Requires the Windows SDK version 7 to be installed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlite&lt;/b&gt;&lt;br /&gt;- this will generate a .sql script in SQLite3 dump file format, for more information see my blog post &lt;a href="http://erikej.blogspot.dk/2012/08/exporting-sql-server-compact-to-sqlite.html"&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;preservedateanddatetime2*&lt;/li&gt;&lt;/ul&gt;
- if this switch is &lt;b&gt;not&lt;/b&gt; set (the default), Server columns of type &amp;quot;date&amp;quot; and &amp;quot;datetime2&amp;quot; are converted to datetime columns (which could cause data loss). If the switch is set, the columns are converted to nvarchar(10) and nvarchar(27), preventing any data loss.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;keepschema&lt;/b&gt;&lt;br /&gt;- this will create table names like &amp;quot;dbo.Shippers&amp;quot; instead of just &amp;quot;Shippers&amp;quot;&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Thu, 10 Jan 2013 08:13:47 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command line utilities 20130110081347A</guid></item><item><title>Updated Wiki: Home</title><link>http://exportsqlce.codeplex.com/wikipage?version=74</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This console app and SQL Server 2008 Management Studio add-in helps you better manage your SQL Compact development efforts. It allows you to script schema and data to a .sql file, which can be used in any context. It also scripts DML for use in SSMS scripts.&lt;br /&gt;&lt;br /&gt;You can use the resulting script for documentation, programmatic scripting of SQL Compact database files, or migration of schema and data to SQL Server (Express) 2005 or later.&lt;br /&gt;&lt;br /&gt;Notice that a similar add-in for Visual Studio 2010 (Pro or higher)  for SQL Compact 3.5 and 4.0 is now available &lt;a href="http://sqlcetoolbox.codeplex.com/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;New features in release 3.5.2&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;SSMS 2008 add-in updated with all fixes in lates scripting libraries&lt;/li&gt;
&lt;li&gt;The command line utilities and scripting library also works with SQL Server Compact 4.0&lt;/li&gt;
&lt;li&gt;New command line switches: exclude, dataonly, diff, dgml, wpdc, sqlite - see the documentation page&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;div class="rss"&gt;&lt;div class="accentbar"&gt;&lt;span class="left"&gt;&amp;nbsp;&lt;/span&gt;ErikEJ blogs about SQL Compact, .NET and related stuff News Feed&lt;span class="right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/rn1ZaTwV5gM/sql-server-compact-code-snippet-of-week.html"&gt;SQL Server Compact Code Snippet of the Week #1 : locate the ROWGUIDCOL column in a table&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;7. januar 2013&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/WEZbhTL381E/integrating-red-gate-smartassembly-in.html"&gt;Integrating Red Gate SmartAssembly in the SQL Server Compact Toolbox&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;19. december 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/ys7kXFDaSvk/sql-server-compact-merge-replication.html"&gt;SQL Server Compact Merge Replication Library alpha released&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;29. november 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="accentbar"&gt;&lt;span class="left"&gt;&amp;nbsp;&lt;/span&gt;ErikEJ blogs about SQL Compact, .NET and related stuff News Feed&lt;span class="right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server Management Studio 2008 (Express) add-in&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ExportSqlCE is a command line application and a SQL Server 2008  Management Studio &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&amp;amp;displaylang=en"&gt;(Express)&lt;/a&gt; add-in. &lt;br /&gt;The add-in adds the following menu items to the table context menu in Object Explorer:&lt;br /&gt;- Show Table Data (browse, sort, edit, import/export/delete images, refresh data)&lt;br /&gt;- Script Table as CREATE, DROP, SELECT, INSERT, UPDATE, DELETE and INSERTs (data) to New Query Editor Windows/File/Clipboard&lt;br /&gt;- Import Data from CSV&lt;br /&gt;- Rename&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=88661" alt="fig4.png" title="fig4.png" /&gt;&lt;br /&gt;&lt;br /&gt;It also adds the menu items &amp;quot;Script Database&amp;quot; and &amp;quot;Script Server Database&amp;quot; to the database context menu:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=115353" alt="addin1.png" title="addin1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://exportsqlce.codeplex.com/wikipage?title=Command%20line%20utilities&amp;referringTitle=Home"&gt;Command line utilities&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Credits&lt;/h2&gt;
The project is based on the work by Bembeng Arifin published here: &lt;a href="http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html"&gt;http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Also see Related projects for other credits.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Thu, 10 Jan 2013 08:06:51 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130110080651A</guid></item><item><title>Updated Wiki: Home</title><link>http://exportsqlce.codeplex.com/wikipage?version=73</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This console app and SQL Server 2008 Management Studio add-in helps you better manage your SQL Compact development efforts. It allows you to script schema and data to a .sql file, which can be used in any context. It also scripts DML for use in SSMS scripts.&lt;br /&gt;&lt;br /&gt;You can use the resulting script for documentation, programmatic scripting of SQL Compact database files, or migration of schema and data to SQL Server (Express) 2005 or later.&lt;br /&gt;&lt;br /&gt;Notice that a similar add-in for Visual Studio 2010 (Pro or higher)  for SQL Compact 3.5 and 4.0 is now available &lt;a href="http://sqlcetoolbox.codeplex.com/"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;New features in release 3.5.2&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;SSMS 2008 add-in updated with all fixes in lates scripting libraries&lt;/li&gt;
&lt;li&gt;The command line utilities and scripting library also works with SQL Server Compact 4.0&lt;/li&gt;
&lt;li&gt;New command line switches: exclude, dataonly, diff, dgml, wpdc, sqlite - see the documentation page&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;For more SQL Compact news and tips, visit my &lt;a href="http://erikej.blogspot.com"&gt;Blog&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server Management Studio 2008 (Express) add-in&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ExportSqlCE is a command line application and a SQL Server 2008  Management Studio &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&amp;amp;displaylang=en"&gt;(Express)&lt;/a&gt; add-in. &lt;br /&gt;The add-in adds the following menu items to the table context menu in Object Explorer:&lt;br /&gt;- Show Table Data (browse, sort, edit, import/export/delete images, refresh data)&lt;br /&gt;- Script Table as CREATE, DROP, SELECT, INSERT, UPDATE, DELETE and INSERTs (data) to New Query Editor Windows/File/Clipboard&lt;br /&gt;- Import Data from CSV&lt;br /&gt;- Rename&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=88661" alt="fig4.png" title="fig4.png" /&gt;&lt;br /&gt;&lt;br /&gt;It also adds the menu items &amp;quot;Script Database&amp;quot; and &amp;quot;Script Server Database&amp;quot; to the database context menu:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=115353" alt="addin1.png" title="addin1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://exportsqlce.codeplex.com/wikipage?title=Command%20line%20utilities&amp;referringTitle=Home"&gt;Command line utilities&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="rss"&gt;&lt;div class="accentbar"&gt;&lt;span class="left"&gt;&amp;nbsp;&lt;/span&gt;ErikEJ blogs about SQL Compact, .NET and related stuff News Feed&lt;span class="right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/rn1ZaTwV5gM/sql-server-compact-code-snippet-of-week.html"&gt;SQL Server Compact Code Snippet of the Week #1 : locate the ROWGUIDCOL column in a table&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;7. januar 2013&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/WEZbhTL381E/integrating-red-gate-smartassembly-in.html"&gt;Integrating Red Gate SmartAssembly in the SQL Server Compact Toolbox&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;19. december 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/ys7kXFDaSvk/sql-server-compact-merge-replication.html"&gt;SQL Server Compact Merge Replication Library alpha released&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;29. november 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="accentbar"&gt;&lt;span class="left"&gt;&amp;nbsp;&lt;/span&gt;ErikEJ blogs about SQL Compact, .NET and related stuff News Feed&lt;span class="right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;h2&gt;Credits&lt;/h2&gt;
The project is based on the work by Bembeng Arifin published here: &lt;a href="http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html"&gt;http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Also see Related projects for other credits.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Thu, 10 Jan 2013 08:03:54 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20130110080354A</guid></item><item><title>Updated Wiki: Command line utilities</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;version=16</link><description>&lt;div class="wikidoc"&gt;This project contains 4 command line applications:&lt;br /&gt;&lt;br /&gt;- ExportSqlCE - for scripting an entire SQL Server Compact 3.5 database&lt;br /&gt;- ExportSqlCE40 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;- ExportSqlCE31 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;and&lt;br /&gt;- Export2SqlCE - for scripting an entire SQL Server 2005/2008 database providing SQL Compact compatible T-SQL statements.&lt;br /&gt;&lt;br /&gt;Command line for ExportSqlCE, ExportSqlCE40 and ExportSqlCE31:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;exportsqlce
Usage :
  ExportSQLCE.exe [SQL Compact Connection String] [output file location] [exclude] [schemaonly|dataonly] [saveimages] [sqlazure]
Examples:
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql exclude:Shippers,Products

Usage: (To create a schema diff script)
  ExportSQLCE.exe diff [SQL Compact or SQL Server Connection String (source)] [SQL Compact or SQL Server Connection String (target)] [output file location]
Example :
  ExportSQLCE.exe diff &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; &amp;quot;Data Source=.\SQLEXPRESS,Inital Catalog=Northwind&amp;quot; NorthwindDiff.sql

Usage: (To create a database graph)
  ExportSQLCE.exe dgml [SQL Compact or SQL Server Connection String (source)] [output file location]
Example:
  ExportSQLCE.exe dgml &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\northwind.dgml

Usage: (To create a Windows Phone DataContext)
  ExportSQLCE.exe wpdc [SQL Compact or SQL Server Connection String (source)] [output file location]
Example :
  ExportSQLCE.exe wpdc &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\Northwind.cs

Usage : (To script an entire database to SQLite format)
 ExportSQLCE.exe [SQL CE Connection String] [output file location] [sqlite]
Example:
 ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql sqlite
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Command line for Export2SqlCE:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Usage :
 Export2SQLCE.exe [SQL Server Connection String] [output file location] [[exclude]] [[schemaonly]] [[saveimages]] [[preservedateanddatetime2]] [[keepschema]]
 (exclude, schemaonly, saveimages, keepschema and preservedateanddatetime2 are optional parameters)

Examples :
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql schemaonly
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql exclude:dbo.Shippers,dbo.Suppliers

&lt;/pre&gt;&lt;br /&gt;Notice that the SQL Server Export currently does not support identically named tables in different schemas.&lt;br /&gt;&lt;br /&gt;Command line utilities optional parameters:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;exclude&lt;/b&gt;:&lt;br /&gt;- list of tables to be excluded from scripting, separated by commas - sample: exclude:dbo.Shippers,dbo.Products&lt;br /&gt;&lt;br /&gt;&lt;b&gt;schemaonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to not contain any data, by only table and constraint definitions - so no INSERT statments in the script.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dataonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to contain INSERT statments only.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;saveimages&lt;/b&gt;&lt;br /&gt;- this will cause all image field data to be written to individual files rather than be included in the script. The files are named &amp;lt;NewGuid()&amp;gt;.blob, and are in the same folder as the generated script. The resulting script and related files can used by &lt;a href="http://sqlcecmd.codeplex.com/"&gt;SqlCeCmd&lt;/a&gt; to import into a SQL Compact database file. This can be useful if your database contains large image fields (5-10 MB or more), in order to avoid out of memory errors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlazure&lt;/b&gt;&lt;br /&gt;- this will cause primary keys to be scripted before any INSERT staements, batch INSERTS in a GO per 1000 statements, and removes support for ROWGUIDCOL (which is not available in SQL Azure)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;diff&lt;/b&gt;&lt;br /&gt;- this will generate a SQL Diff script based on differences between source and target data sources.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dgml&lt;/b&gt;&lt;br /&gt;- this will generate a .dgml file and releated .sqlce/.sql files in the specified folder, that contains a diagram of the data source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpdc&lt;/b&gt;&lt;br /&gt;- this will generate a .cs or .vb file with a Windows Phone specific Linq to SQL DataContext and related classes. Requires the Windows SDK version 7 to be installed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlite&lt;/b&gt;&lt;br /&gt;- this will generate a .sql script in SQLite3 dump file format, for more information see my blog post &lt;a href="http://erikej.blogspot.dk/2012/08/exporting-sql-server-compact-to-sqlite.html"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Wed, 02 Jan 2013 13:19:30 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command line utilities 20130102011930P</guid></item><item><title>Updated Wiki: Command line utilities</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;version=15</link><description>&lt;div class="wikidoc"&gt;This project contains 4 command line applications:&lt;br /&gt;&lt;br /&gt;- ExportSqlCE - for scripting an entire SQL Server Compact 3.5 database&lt;br /&gt;- ExportSqlCE40 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;- ExportSqlCE31 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;and&lt;br /&gt;- Export2SqlCE - for scripting an entire SQL Server 2005/2008 database providing SQL Compact compatible T-SQL statements.&lt;br /&gt;&lt;br /&gt;Command line for ExportSqlCE, ExportSqlCE40 and ExportSqlCE31:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;exportsqlce
Usage :
  ExportSQLCE.exe [SQL Compact Connection String] [output file location] [exclude] [schemaonly|dataonly] [saveimages] [sqlazure]
Examples:
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql exclude:Shippers,Products

Usage: (To create a schema diff script)
  ExportSQLCE.exe diff [SQL Compact or SQL Server Connection String (source)] [SQL Compact or SQL Server Connection String (target)] [output file location]
Example :
  ExportSQLCE.exe diff &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; &amp;quot;Data Source=.\SQLEXPRESS,Inital Catalog=Northwind&amp;quot; NorthwindDiff.sql

Usage: (To create a database graph)
  ExportSQLCE.exe dgml [SQL Compact or SQL Server Connection String (source)] [output file location]
Example:
  ExportSQLCE.exe dgml &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\northwind.dgml

Usage: (To create a Windows Phone DataContext)
  ExportSQLCE.exe wpdc [SQL Compact or SQL Server Connection String (source)] [output file location]
Example :
  ExportSQLCE.exe wpdc &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\Northwind.cs

Usage : (To script an entire database to SQLite format)
 ExportSQLCE.exe [SQL CE Connection String] [output file location] [sqlite]
Example:
 ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql sqlite
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Command line for Export2SqlCE:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;export2sqlce
Usage :
 Export2SQLCE.exe [SQL Server Connection String] [output file location] [exclude] [schemaonly] [saveimages]

Examples :
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql schemaonly

&lt;/pre&gt;&lt;br /&gt;Notice that the SQL Server Export currently does not support identically named tables in different schemas.&lt;br /&gt;&lt;br /&gt;Command line utilities optional parameters:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;exclude&lt;/b&gt;:&lt;br /&gt;- list of tables to be excluded from scripting, separated by commas - sample: exclude:dbo.Shippers,dbo.Products&lt;br /&gt;&lt;br /&gt;&lt;b&gt;schemaonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to not contain any data, by only table and constraint definitions - so no INSERT statments in the script.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dataonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to contain INSERT statments only.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;saveimages&lt;/b&gt;&lt;br /&gt;- this will cause all image field data to be written to individual files rather than be included in the script. The files are named &amp;lt;NewGuid()&amp;gt;.blob, and are in the same folder as the generated script. The resulting script and related files can used by &lt;a href="http://sqlcecmd.codeplex.com/"&gt;SqlCeCmd&lt;/a&gt; to import into a SQL Compact database file. This can be useful if your database contains large image fields (5-10 MB or more), in order to avoid out of memory errors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlazure&lt;/b&gt;&lt;br /&gt;- this will cause primary keys to be scripted before any INSERT staements, batch INSERTS in a GO per 1000 statements, and removes support for ROWGUIDCOL (which is not available in SQL Azure)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;diff&lt;/b&gt;&lt;br /&gt;- this will generate a SQL Diff script based on differences between source and target data sources.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dgml&lt;/b&gt;&lt;br /&gt;- this will generate a .dgml file and releated .sqlce/.sql files in the specified folder, that contains a diagram of the data source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpdc&lt;/b&gt;&lt;br /&gt;- this will generate a .cs or .vb file with a Windows Phone specific Linq to SQL DataContext and related classes. Requires the Windows SDK version 7 to be installed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlite&lt;/b&gt;&lt;br /&gt;- this will generate a .sql script in SQLite3 dump file format, for more information see my blog post &lt;a href="http://erikej.blogspot.dk/2012/08/exporting-sql-server-compact-to-sqlite.html"&gt;here&lt;/a&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Wed, 02 Jan 2013 13:01:12 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command line utilities 20130102010112P</guid></item><item><title>New Comment on "Scripting API samples"</title><link>https://exportsqlce.codeplex.com/wikipage?title=Scripting API samples&amp;ANCHOR#C24893</link><description>It is not implemented for SQL Server Compact, only SQL Server &amp;#40;currently&amp;#41;</description><author>ErikEJ</author><pubDate>Wed, 05 Sep 2012 13:05:28 GMT</pubDate><guid isPermaLink="false">New Comment on "Scripting API samples" 20120905010528P</guid></item><item><title>New Comment on "Scripting API samples"</title><link>https://exportsqlce.codeplex.com/wikipage?title=Scripting API samples&amp;ANCHOR#C24892</link><description>using &amp;#40;IRepository repository &amp;#61; Helper.CreateRepository&amp;#40;&amp;#34;Data Source &amp;#61; &amp;#39;&amp;#34; &amp;#43; ResultDir &amp;#43; &amp;#34;db.sdf&amp;#39;&amp;#59;&amp;#34;&amp;#41;&amp;#41;&amp;#10;&amp;#123; try &amp;#123;&amp;#10;ResultDir &amp;#61; Environment.CurrentDirectory &amp;#43; &amp;#64;&amp;#34;&amp;#92;Result&amp;#92;&amp;#34;&amp;#59;&amp;#10;                    if &amp;#40;&amp;#33;Directory.Exists&amp;#40;ResultDir&amp;#41;&amp;#41;&amp;#10;                        Directory.CreateDirectory&amp;#40;ResultDir&amp;#41;&amp;#59;&amp;#10;                    repository.ExecuteSqlFile&amp;#40;ResultDir &amp;#43; &amp;#34;script.sql&amp;#34;&amp;#41;&amp;#59;&amp;#10;                &amp;#125;&amp;#10;                catch &amp;#40;Exception ex&amp;#41;&amp;#10;                &amp;#123;&amp;#10;                    Logs.Add&amp;#40;ex.Message&amp;#41;&amp;#59;&amp;#10;                &amp;#125;&amp;#10;            &amp;#125;&amp;#10;&amp;#10;Looks like  repository.ExecuteSqlFile&amp;#40;ResultDir &amp;#43; &amp;#34;script.sql&amp;#34;&amp;#41;&amp;#59;&amp;#10;wont work, do you have some update about this&amp;#63;&amp;#10;Thank you</description><author>theBlaza</author><pubDate>Wed, 05 Sep 2012 12:07:42 GMT</pubDate><guid isPermaLink="false">New Comment on "Scripting API samples" 20120905120742P</guid></item><item><title>New Comment on "Command line utilities"</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;ANCHOR#C24263</link><description>Hi Erik,&amp;#10;I use very often you export2SqlCE tool.&amp;#10;&amp;#10;Normally I&amp;#39;m using 3.5.2.0, today I downloaded last version &amp;#40;3.5.2.15&amp;#41; and on the same DB it gives me an exception and doesn&amp;#39;t create the script&amp;#10;&amp;#10;Error&amp;#58; System.ArgumentException&amp;#58; A relation already exists for these child colum&amp;#10;ns.&amp;#10;   at System.Data.DataRelationCollection.DataSetRelationCollection.AddCore&amp;#40;DataR&amp;#10;elation relation&amp;#41;&amp;#10;   at System.Data.DataRelationCollection.Add&amp;#40;DataRelation relation&amp;#41;&amp;#10;   at System.Data.DataRelationCollection.Add&amp;#40;String name, DataColumn&amp;#91;&amp;#93; parentCol&amp;#10;umns, DataColumn&amp;#91;&amp;#93; childColumns&amp;#41;&amp;#10;   at ErikEJ.SqlCeScripting.Generator.FillSchemaDataSet&amp;#40;List&amp;#96;1 tables&amp;#41;&amp;#10;   at ErikEJ.SqlCeScripting.Generator.ExcludeTables&amp;#40;IList&amp;#96;1 tablesToExclude&amp;#41;&amp;#10;   at ExportSqlCE.Program.Main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41;&amp;#10;&amp;#10;3.5.2.0 &amp;#40;fortunaltely I kept a backup&amp;#41; works perfectly.&amp;#10;&amp;#10;thx</description><author>sandroriz</author><pubDate>Mon, 02 Jul 2012 14:47:41 GMT</pubDate><guid isPermaLink="false">New Comment on "Command line utilities" 20120702024741P</guid></item><item><title>Updated Wiki: Developer tips</title><link>http://exportsqlce.codeplex.com/wikipage?title=Developer tips&amp;version=6</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Building&lt;/b&gt;&lt;br /&gt;In order to build the command line utilities, IlMerge must be run, as they depend on QuickGraph.&lt;br /&gt;First, run the RebuildAllExceptSetup.cmd batch file in the solution root, then run ILMExpSqlCE.cmd in the lib folder.&lt;br /&gt;You may have to modify the paths to suit your environment.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Debugging&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I am currently developing using SSMS 2008 R2 SP1.&lt;br /&gt;&lt;br /&gt;To debug the add-in, configure your project as shown:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=113580" alt="fig11.png" title="fig11.png" /&gt;&lt;br /&gt;&lt;br /&gt;The command line for SSMS on my computer is:&lt;br /&gt;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe&lt;br /&gt;&lt;br /&gt;Then build the solution, and right click the Setup project, and select Install.&lt;br /&gt;&lt;br /&gt;Then press F5 to debug, and you can set breakpoints etc.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Sat, 28 Apr 2012 09:49:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Developer tips 20120428094923A</guid></item><item><title>Updated Wiki: Developer tips</title><link>http://exportsqlce.codeplex.com/wikipage?title=Developer tips&amp;version=5</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Building&lt;/b&gt;&lt;br /&gt;In order to build the command line utilities, IlMerge mus be run, as they depend on QuickGraph.&lt;br /&gt;First, run the RebuildAllExceptSetup.cmd batch file in the solution root, then run ILMExpSqlCE.cmd in the lib folder.&lt;br /&gt;You may have to modify the paths to suit your environment.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Debugging&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I am currently developing using SSMS 2008 R2 SP1.&lt;br /&gt;&lt;br /&gt;To debug the add-in, configure your project as shown:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=113580" alt="fig11.png" title="fig11.png" /&gt;&lt;br /&gt;&lt;br /&gt;The command line for SSMS on my computer is:&lt;br /&gt;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe&lt;br /&gt;&lt;br /&gt;Then build the solution, and right click the Setup project, and select Install.&lt;br /&gt;&lt;br /&gt;Then press F5 to debug, and you can set breakpoints etc.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Sat, 28 Apr 2012 09:49:11 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Developer tips 20120428094911A</guid></item><item><title>New Comment on "Developer tips"</title><link>http://exportsqlce.codeplex.com/wikipage?title=Developer tips&amp;ANCHOR#C23277</link><description>Yes, works fine on my Win 7 x64 system with SSMS 2008 R2, not sure about debugging, though.</description><author>ErikEJ</author><pubDate>Thu, 12 Apr 2012 17:17:50 GMT</pubDate><guid isPermaLink="false">New Comment on "Developer tips" 20120412051750P</guid></item><item><title>Updated Wiki: Developer tips</title><link>http://exportsqlce.codeplex.com/wikipage?title=Developer tips&amp;version=4</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Debugging&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;I am currently developing using SSMS 2008 R2 SP1.&lt;br /&gt;&lt;br /&gt;To debug the add-in, configure your project as shown:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=113580" alt="fig11.png" title="fig11.png" /&gt;&lt;br /&gt;&lt;br /&gt;The command line for SSMS on my computer is:&lt;br /&gt;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe&lt;br /&gt;&lt;br /&gt;Then build the solution, and right click the Setup project, and select Install.&lt;br /&gt;&lt;br /&gt;Then press F5 to debug, and you can set breakpoints etc.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Thu, 12 Apr 2012 17:17:05 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Developer tips 20120412051705P</guid></item><item><title>New Comment on "Developer tips"</title><link>http://exportsqlce.codeplex.com/wikipage?title=Developer tips&amp;ANCHOR#C23274</link><description>Unfortunately i have only ssms08r2 is this working now since u posted this is Apr 2010&amp;#63;</description><author>jackandjill</author><pubDate>Thu, 12 Apr 2012 15:23:41 GMT</pubDate><guid isPermaLink="false">New Comment on "Developer tips" 20120412032341P</guid></item><item><title>New Comment on "Command line utilities"</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;ANCHOR#C22941</link><description>Hi. &amp;#10;Tried to run the Export2SqlCE.exe with the &amp;#91;dataonly&amp;#93; switch but the generated file contains the table definitions as well. The &amp;#91;schemaonly&amp;#93; switch works fine. Any idea what might cause this issue&amp;#63; Using SQL Server 2008.&amp;#10;Thanks.</description><author>cosmmin_m</author><pubDate>Fri, 16 Mar 2012 07:59:14 GMT</pubDate><guid isPermaLink="false">New Comment on "Command line utilities" 20120316075914A</guid></item><item><title>New Comment on "Scripting API samples"</title><link>http://exportsqlce.codeplex.com/wikipage?title=Scripting API samples&amp;ANCHOR#C22804</link><description>You nned to add a reference to this and the SqlCeScripting and&amp;#47;or the SqlCeScripting40 .dll</description><author>ErikEJ</author><pubDate>Sat, 03 Mar 2012 02:19:34 GMT</pubDate><guid isPermaLink="false">New Comment on "Scripting API samples" 20120303021934A</guid></item><item><title>New Comment on "Scripting API samples"</title><link>http://exportsqlce.codeplex.com/wikipage?title=Scripting API samples&amp;ANCHOR#C22793</link><description>Hi Erik,&amp;#10;&amp;#10;I tried to use your code for Generating a single table script, but it gives me an error&amp;#58;&amp;#10;&amp;#10;Could not load file or assembly &amp;#39;ISqlCeScripting, Version&amp;#61;3.5.2.0, Culture&amp;#61;neutral, PublicKeyToken&amp;#61;3681435cabd17ad2&amp;#39; or one of its dependencies. The system cannot find the file specified.&amp;#10;&amp;#10;Is there any extra code I should add&amp;#63;&amp;#10;&amp;#10;Thanks,&amp;#10;&amp;#10;Neda</description><author>neda_1982</author><pubDate>Fri, 02 Mar 2012 16:37:44 GMT</pubDate><guid isPermaLink="false">New Comment on "Scripting API samples" 20120302043744P</guid></item><item><title>Updated Wiki: Home</title><link>http://exportsqlce.codeplex.com/wikipage?version=72</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;This console app and SQL Server 2008 Management Studio add-in helps you better manage your SQL Compact development efforts. It allows you to script schema and data to a .sql file, which can be used in any context. It also scripts DML for use in SSMS scripts.&lt;br /&gt;&lt;br /&gt;You can use the resulting script for documentation, programmatic scripting of SQL Compact database files, or migration of schema and data to SQL Server (Express) 2005 or later.&lt;br /&gt;&lt;br /&gt;Notice that a similar add-in for Visual Studio 2010 (Pro or higher)  for SQL Compact 3.5 and 4.0 is now available &lt;a href="http://sqlcetoolbox.codeplex.com/" class="externalLink"&gt;here&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;New features in release 3.5.2&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;SSMS 2008 add-in updated with all fixes in lates scripting libraries&lt;/li&gt;
&lt;li&gt;The command line utilities and scripting library also works with SQL Server Compact 4.0&lt;/li&gt;
&lt;li&gt;New command line switches: exclude, dataonly, diff, dgml, wpdc&lt;/li&gt;
&lt;li&gt;Support for export to SQL Azure (batching, primary keys before data, no ROWGUIDCOL)&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;For more SQL Compact news and tips, visit my &lt;a href="http://erikej.blogspot.com" class="externalLink"&gt;Blog&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL Server Management Studio 2008 (Express) add-in&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ExportSqlCE is a command line application and a SQL Server 2008  Management Studio &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&amp;amp;displaylang=en" class="externalLink"&gt;(Express)&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; add-in. &lt;br /&gt;The add-in adds the following menu items to the table context menu in Object Explorer:&lt;br /&gt;- Show Table Data (browse, sort, edit, import/export/delete images, refresh data)&lt;br /&gt;- Script Table as CREATE, DROP, SELECT, INSERT, UPDATE, DELETE and INSERTs (data) to New Query Editor Windows/File/Clipboard&lt;br /&gt;- Import Data from CSV&lt;br /&gt;- Rename&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=88661" alt="fig4.png" title="fig4.png" /&gt;&lt;br /&gt;&lt;br /&gt;It also adds the menu items &amp;quot;Script Database&amp;quot; and &amp;quot;Script Server Database&amp;quot; to the database context menu:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://i3.codeplex.com/Download?ProjectName=ExportSqlCE&amp;DownloadId=115353" alt="addin1.png" title="addin1.png" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://exportsqlce.codeplex.com/wikipage?title=Command%20line%20utilities&amp;referringTitle=Home"&gt;Command line utilities&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="rss"&gt;&lt;div class="accentbar"&gt;&lt;span class="left"&gt;&amp;nbsp;&lt;/span&gt;ErikEJ blogs about SQL Compact, .NET and related stuff News Feed&lt;span class="right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/CSQPfCDjBZk/review-of-windows-phone-75-data.html"&gt;Review of “Windows Phone 7.5 Data Cookbook”&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;Tuesday, January 24, 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/dWtc9P9Wv-Y/windows-phone-local-database-tip.html"&gt;Windows Phone Local Database tip: Initializing the database&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;Monday, January 23, 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry"&gt;&lt;div class="title"&gt;&lt;a href="http://feedproxy.google.com/~r/ErikejBlogsAboutSqlCompactnetAndRelatedStuff/~3/9zLYtKWyRnM/generating-linq-to-sql-datacontext-with.html"&gt;Generating a LINQ to SQL DataContext for VS Express for Windows Phone&lt;/a&gt;&lt;/div&gt;&lt;div class="moreinfo"&gt;&lt;span class="date"&gt;Monday, January 16, 2012&lt;/span&gt; &amp;nbsp;|&amp;nbsp; &lt;span class="source"&gt;From &lt;a target="_blank" href="http://feeds.feedburner.com/ErikejBlogsAboutSqlCompactnetAndRelatedStuff"&gt;ErikEJ blogs about SQL Compact, .NET and related stuff&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="accentbar"&gt;&lt;span class="left"&gt;&amp;nbsp;&lt;/span&gt;ErikEJ blogs about SQL Compact, .NET and related stuff News Feed&lt;span class="right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;h2&gt;Credits&lt;/h2&gt;
The project is based on the work by Bembeng Arifin published here: &lt;a href="http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html" class="externalLink"&gt;http://bembengarifin-tech.blogspot.com/2008/08/generate-script-export-data-from-sql-ce.html&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Also see Related projects for other credits.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Mon, 30 Jan 2012 14:29:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120130022908P</guid></item><item><title>Updated Wiki: Command line utilities</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;version=14</link><description>&lt;div class="wikidoc"&gt;This project contains 4 command line applications:&lt;br /&gt;&lt;br /&gt;- ExportSqlCE - for scripting an entire SQL Server Compact 3.5 database&lt;br /&gt;- ExportSqlCE40 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;- ExportSqlCE31 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;and&lt;br /&gt;- Export2SqlCE - for scripting an entire SQL Server 2005/2008 database providing SQL Compact compatible T-SQL statements.&lt;br /&gt;&lt;br /&gt;Command line for ExportSqlCE, ExportSqlCE40 and ExportSqlCE31:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;exportsqlce
Usage :
  ExportSQLCE.exe [SQL Compact Connection String] [output file location] [exclude] [schemaonly|dataonly] [saveimages] [sqlazure]
Examples:
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql exclude:Shippers,Products

Usage: (To create a schema diff script)
  ExportSQLCE.exe diff [SQL Compact or SQL Server Connection String (source)] [SQL Compact or SQL Server Connection String (target)] [output file location]
Example :
  ExportSQLCE.exe diff &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; &amp;quot;Data Source=.\SQLEXPRESS,Inital Catalog=Northwind&amp;quot; NorthwindDiff.sql

Usage: (To create a database graph)
  ExportSQLCE.exe dgml [SQL Compact or SQL Server Connection String (source)] [output file location]
Example:
  ExportSQLCE.exe dgml &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\northwind.dgml

Usage: (To create a Windows Phone DataContext)
  ExportSQLCE.exe wpdc [SQL Compact or SQL Server Connection String (source)] [output file location]
Example :
  ExportSQLCE.exe wpdc &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\Northwind.cs

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Command line for Export2SqlCE:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;export2sqlce
Usage :
 Export2SQLCE.exe [SQL Server Connection String] [output file location] [exclude] [schemaonly] [saveimages]

Examples :
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql schemaonly

&lt;/pre&gt;&lt;br /&gt;Notice that the SQL Server Export currently does not support identically named tables in different schemas.&lt;br /&gt;&lt;br /&gt;Command line utilities optional parameters:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;exclude&lt;/b&gt;:&lt;br /&gt;- list of tables to be excluded from scripting, separated by commas - sample: exclude:dbo.Shippers,dbo.Products&lt;br /&gt;&lt;br /&gt;&lt;b&gt;schemaonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to not contain any data, by only table and constraint definitions - so no INSERT statments in the script.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dataonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to contain INSERT statments only.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;saveimages&lt;/b&gt;&lt;br /&gt;- this will cause all image field data to be written to individual files rather than be included in the script. The files are named &amp;lt;NewGuid()&amp;gt;.blob, and are in the same folder as the generated script. The resulting script and related files can used by &lt;a href="http://sqlcecmd.codeplex.com/" class="externalLink"&gt;SqlCeCmd&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to import into a SQL Compact database file. This can be useful if your database contains large image fields (5-10 MB or more), in order to avoid out of memory errors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlazure&lt;/b&gt;&lt;br /&gt;- this will cause primary keys to be scripted before any INSERT staements, batch INSERTS in a GO per 1000 statements, and removes support for ROWGUIDCOL (which is not available in SQL Azure)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;diff&lt;/b&gt;&lt;br /&gt;- this will generate a SQL Diff script based on differences between source and target data sources.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dgml&lt;/b&gt;&lt;br /&gt;- this will generate a .dgml file and releated .sqlce/.sql files in the specified folder, that contains a diagram of the data source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpdc&lt;/b&gt;&lt;br /&gt;- this will generate a .cs or .vb file with a Windows Phone specific Linq to SQL DataContext and related classes. Requires the Windows SDK version 7 to be installed.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Mon, 30 Jan 2012 10:35:47 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command line utilities 20120130103547A</guid></item><item><title>Updated Wiki: Command line utilities</title><link>http://exportsqlce.codeplex.com/wikipage?title=Command line utilities&amp;version=13</link><description>&lt;div class="wikidoc"&gt;This project contains 3 command line applications:&lt;br /&gt;&lt;br /&gt;- ExportSqlCE - for scripting an entire SQL Server Compact 3.5 database&lt;br /&gt;- ExportSqlCE31 - for scripting an entire SQL Server Compact 3.1 database&lt;br /&gt;- Export2SqlCE - for scripting an entire SQL Server 2005/2008 database providing SQL Compact compatible T-SQL statements.&lt;br /&gt;&lt;br /&gt;Command line for ExportSqlCE, ExportSqlCE40 and ExportSqlCE31:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;exportsqlce
Usage :
  ExportSQLCE.exe [SQL Compact Connection String] [output file location] [exclude] [schemaonly|dataonly] [saveimages] [sqlazure]
Examples:
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql
  ExportSQLCE.exe &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; Northwind.sql exclude:Shippers,Products

Usage: (To create a schema diff script)
  ExportSQLCE.exe diff [SQL Compact or SQL Server Connection String (source)] [SQL Compact or SQL Server Connection String (target)] [output file location]
Example :
  ExportSQLCE.exe diff &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; &amp;quot;Data Source=.\SQLEXPRESS,Inital Catalog=Northwind&amp;quot; NorthwindDiff.sql

Usage: (To create a database graph)
  ExportSQLCE.exe dgml [SQL Compact or SQL Server Connection String (source)] [output file location]
Example:
  ExportSQLCE.exe dgml &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\northwind.dgml

Usage: (To create a Windows Phone DataContext)
  ExportSQLCE.exe wpdc [SQL Compact or SQL Server Connection String (source)] [output file location]
Example :
  ExportSQLCE.exe wpdc &amp;quot;Data Source=D:\Northwind.sdf;&amp;quot; C:\temp\Northwind.cs

&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Command line for Export2SqlCE:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;C:\Data\SQLCE\bin&amp;gt;export2sqlce
Usage :
 Export2SQLCE.exe [SQL Server Connection String] [output file location] [exclude] [schemaonly] [saveimages]

Examples :
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql
 Export2SQLCE.exe &amp;quot;Data Source=(local);Initial Catalog=Northwind;Integrated Security=True&amp;quot; Northwind.sql schemaonly

&lt;/pre&gt;&lt;br /&gt;Notice that the SQL Server Export currently does not support identically named tables in different schemas.&lt;br /&gt;&lt;br /&gt;Command line utilities optional parameters:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;exclude&lt;/b&gt;:&lt;br /&gt;- list of tables to be excluded from scripting, separated by commas - sample: exclude:dbo.Shippers,dbo.Products&lt;br /&gt;&lt;br /&gt;&lt;b&gt;schemaonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to not contain any data, by only table and constraint definitions - so no INSERT statments in the script.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dataonly&lt;/b&gt;:&lt;br /&gt;- this will cause the script to contain INSERT statments only.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;saveimages&lt;/b&gt;&lt;br /&gt;- this will cause all image field data to be written to individual files rather than be included in the script. The files are named &amp;lt;NewGuid()&amp;gt;.blob, and are in the same folder as the generated script. The resulting script and related files can used by &lt;a href="http://sqlcecmd.codeplex.com/" class="externalLink"&gt;SqlCeCmd&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; to import into a SQL Compact database file. This can be useful if your database contains large image fields (5-10 MB or more), in order to avoid out of memory errors.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;sqlazure&lt;/b&gt;&lt;br /&gt;- this will cause primary keys to be scripted before any INSERT staements, batch INSERTS in a GO per 1000 statements, and removes support for ROWGUIDCOL (which is not available in SQL Azure)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;diff&lt;/b&gt;&lt;br /&gt;- this will generate a SQL Diff script based on differences between source and target data sources.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;dgml&lt;/b&gt;&lt;br /&gt;- this will generate a .dgml file and releated .sqlce/.sql files in the specified folder, that contains a diagram of the data source.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpdc&lt;/b&gt;&lt;br /&gt;- this will generate a .cs or .vb file with a Windows Phone specific Linq to SQL DataContext and related classes. Requires the Windows SDK version 7 to be installed.&lt;br /&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>ErikEJ</author><pubDate>Mon, 30 Jan 2012 10:33:36 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Command line utilities 20120130103336A</guid></item></channel></rss>