SQLServerCe cannot batch statements at all.
Programmatically you can use both Utilities.ScriptTools.SplitScript and ScriptTools.SplitBySemicolon to break it down into a string array, each element of which can be executed.
I've just committed 32028 , which separates all SQLServer Ce statements by GO instead of semicolon. That means you can paste it into Sql Server Compact Toolbox, or your favorite tool, and just execute the script.
Programmatically you can use both Utilities.ScriptTools.SplitScript and ScriptTools.SplitBySemicolon to break it down into a string array, each element of which can be executed.
I've just committed 32028 , which separates all SQLServer Ce statements by GO instead of semicolon. That means you can paste it into Sql Server Compact Toolbox, or your favorite tool, and just execute the script.