Version 2.5 of my CodePlex SQL Server Compact schema and data script toolset has been released. Go get it!
The project now includes a command line utility to script a SQL Server 2005/2008 database in SQL Compact SQL script.
The SQL Server Management Studio add-in has been updated to support the version of SQL Server Management Studio that comes with SQL Server 2008 R2.
Finally, 3 scripting engine bugs have been fixed, thanks to user feedback!
Other notable changes are noted below:
Release Notes
This release contains 4 downloadable files:    
- SSMS 2008 scripting add-in  (Documentation)    
- SQL Server 2005/2008 command line utility to generate a script with schema and data (or schema only)     
- SQL Compact 3.5 command line utility to generate a script with schema and data    
- SQL Compact 3.1 command line utility to generate a script with schema and data    
Features added to SSMS add-in:   
"Show Table Data" - also for INFORMATION_SCHEMA views (read-only)     
"Show Table Data" - F3 search added      
New command line utility:   
Export2SqlCE - for scripting SQL Server 2005/2008 data and schema (or schema only) using SQL Server Compact syntax     
(please test against your SQL Server databases, and provide feedback)    
Fixes:   
Fixed issue with ROWGUIDCOL not being scripted on "uniqueidentifier NOT NULL" columns (generator)    
Fixed IDENTITY seed wrong when scripting schema and data (generator)    
Fixed missing ; (semicolon) at end of IDENTITY_INSERT statement (generator)    
Other:   
Support for SQL Server 2008 R2 Management Studio (add-in)     
Improved import error handling (add-in)    
Updated Eqatec Monitor.dll (add-in)    
"About" added to "Show table data" (add-in)