SQL Server Compact/SQLite Toolbox

VSIP Partner Free

SQL Server Compact/SQLite Toolbox add-in for Visual Studio. This add-in adds several features to help your embedded database development efforts: Scripting of tables and data, import from SQL Server and CSV files and much, much more.

(142) Review
Visual Studio
2015, 2013, 2012, 2010
Download (475,668)
2/2/2016
4.5.0.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (142)
Q and A (94)
Sign in to write a review
Sort by:

by ajphall | January 25 2016

This is excellent. Thank you for all of your efforts Erik.

by Marcio Maciel | January 17 2016

This is amazing! Tks ErikEJ! 5 stars easy! =D

by James Green | January 06 2016

Really helped me out, saved a bunch of effort using this plugin.

by Ghalib Masood | December 26 2015

An amazing tool that made developing local database for my windows phone 8.0 project a lot easier. Currently, using it for all of my WP projects. Outstanding Tool.

by David L3 | December 14 2015

A brilliant tool! I use compact databases a lot both in desktop and web applications and I find this toolbox totally indispensable.

by SkyHigh42 | December 12 2015

Great tool, great support.

by ClevelandClete | November 25 2015

Having to Check the "Results to Grid" EVERY TIME I run a query is quite distracting.

ErikEJ November 27 2015
| Edit |
Delete

You dont have to, just use Tools/Options to set the default value for all new windows

by jecs.pt | November 24 2015

Outstanding tool!!

Thank you.

by cemremengu | November 23 2015

Great, great work thanks so much.

by Sapan Ghafuri | November 05 2015

I just come here to tell you thanks. Your tool helped us too much.

by pehu71 | November 04 2015

Very nice update!

by bobthecoder1 | November 03 2015

You can't scroll with mouse wheel when the mouse is positioned over table names. However scroll works when ur mouse is positioned near the scrollbar! Otherwise pretty nifty little tool.

ErikEJ November 04 2015
| Edit |
Delete

Hi, thanks for your feedback. could you post an issue here: https://sqlcetoolbox.codeplex.com/WorkItem/Create with a screenshot, thenI will look into it

by Ruud Borst | November 03 2015

.

by ryan.gillies | October 20 2015

Considering SQLCE is a product of Microsoft, its increasingly frustrating how they continue to remove support for this format bit by bit.

Thankfully ErikEJ's set of tools do just about everything - all of his tools are must have for anyone working with SQLCE databases.

by The Doron Team | October 13 2015

Awesome!!!

by Codinator12 | October 07 2015

Crazy good. Should be part of VS.

by Eumar Assis - Microsoft | October 05 2015

Awesome!!!

by lorax11 | September 30 2015

Can't live without it. Essential part of my workflow!

by JohnyL | September 25 2015

Invaluable tool for SQL Server Compact databases. The editor has now more capabilities which is important. Welcome fix for Save button which now does not open Save File dialog! SQL Server Compact Toolbox is just "must have"! Thanks, Erik! :)

by Rouf0007 | September 25 2015

Very good tool and ErikEJ is very helpfull. Many tanks

1 - 20 of 142 Items   
Sign in to start a discussion


  • Possible issues
    3 Posts | Last post October 01, 2015
    • 1. Right click some table in the toolbox, and choose one of the "Script as..." menu items, and a new tab pops up with default script to get you started. I usually type "ctrl a" to select all, and then immediately type "s" because I plan to type "select foo from bar etc..." But what happens is it pops up the save-as dialog box. You need to close it and then it also hijacks the uppercase/lowercase "s" and "S" for some reason, so you need to close the tab and try again.
      
      2. In VS tool windows, I don't have the "Properties" tool window open ever. I always close it because it takes up space and I don't use it. When I open VS (this only happens once, when you first open VS), I go to the tool window for the sqlce toolbox, I click the "+" to expand my db, click the "+" to expand the "Tables" node, it then automatically opens the "Properties" tool window, and switches to it. I just close it and forget about it, but it happens every time. Wonder why?
    • Thanks for reporting this, suggest you use this link for error reports: https://sqlcetoolbox.codeplex.com/WorkItem/Create - I have logged issue 1. Re 2 - you can disable this via the Settings dialog (DisplayObjectProperties)
    • 1. ok will do in the future, 2. that works thanks
  • Feature request for "new" button
    7 Posts | Last post September 30, 2015
    • In the next version, please consider adding a button "New" to the menu - the one which has open, save, save as, execute, execute + plan, etc...
      
      Right now when I need a new window I must go into the toolbox, and right click something, and clear out the automatic stuff in the new window, and so on.
      
      Would be easier with just a "new" button for a new blank window! :-)
      
      Loving this!
    • Thanks for the great suggestion, this will be in the next daily (and release) - there already is a menu item to do this, but only on the database level named "Open SQL editor" - but I will add it to the Table context menu
    • Oh then maybe I'm doing something wrong? All I have in my menu is:
      
      open, save, save as, execute, execute + plan, estimated plan, parse, search, ignore ddl errors...
      
      I am referring to that menu that shows at the top of the editing tab. It has icons and text.
      
      But there is no "new" window/tab button in there?
    • Got it! I have added an issue to get this done: https://sqlcetoolbox.codeplex.com/workitem/12220 
    • awesome :)
    • This is now available in the latest "daily" - https://sqlcetoolbox.codeplex.com/releases/edit/616898 
    • I just tried the alpha it and it works for me... Thanks, this is such a useful addition!! I have some "bug reports" (maybe it's just me?) I will put separately... And I love the new icons.
  • FOREIGN KEY
    2 Posts | Last post September 08, 2015
    • How can I create a foreign key using 2 columns and refering to a 2 columns primary key ?
      I use sqlce 4 and visual studio community 2015
    • You can do that using SQL script currently, support for it in the UI is pending, planned for NeXT release: https://sqlcetoolbox.codeplex.com/workitem/11501 
  • How to expand tables of a database
    3 Posts | Last post September 06, 2015
    • Hi, I installed the tool, but cannot expand the database to see the tables, etc.
      I'm using VS 2015 Community and created a database in toolbox and after created tables with code first. The database is there, but I cannot expand it and see the tables of the database.
    • I am guessing you are looking at the wrong database file. Suggest you post an issue on CodePlex with reproduction steps
    • You were right! I've created the DB through the toolbox and when the solution was built it created other DB in Debug folder, but until now I didn't know that. Now I pointed the toolbox to the correct .sdf file and all is OK.
      Thanks very much for your hint!!!
  • Unable to add datasource
    6 Posts | Last post August 22, 2015
    • Hello,
      I tried creating a project to test your tool. First, when I display the about box, I notice a bunch of 'no' (see http://i58.tinypic.com/2dv5p4k.jpg). I've already pressed 'Register DDEX Providers' button. Second, when I try to add a new datasource in my project to access a sqlite db file, your tool doesn't show up in the 'Choose provider' window. How to fix that ?
    • My tool does not provide features for adding a sqlite dataSource, you must install the SQLIte VS tools, as described here: http://erikej.blogspot.dk/2014/11/using-sqlite-with-entity-framework-6.html 
    • OK. I've downloaded and installed the file mentioned but I get an error ('An unexpected error occured in the .NET Framework data provider...'), although the connection test succeeded.
    • Hello again,
      trying to get rid of my problem, I get an error, this time from YOUR tool: I chose Script Database from the menu and then Script Database schema. See http://i59.tinypic.com/2lsxgxs.jpg for the error. The db is a valid one though, it's been created by a video game and can be opened with any sqlite browser tool...
    • Please try to uninstall and reinstall so you have the latest refresh, version 4,3,0,2. Please let me know if that fixes the issue for you.
    • No error with the latest version! Thank you! ;)
  • How to upgrade?
    6 Posts | Last post August 02, 2015
    • Hi, I was using C# 2010 with SQL Compact on an old laptop and recently bought a new laptop with WIndows 8 and installed Visual Studio 2015. The database program I developed on the old laptop doesn't run under VS 2015 since I don't have SQL Compact on it. 
      
      Is there some easy to find and understand how to get SQL CE on 2015? I seem to be in a tailspin trying to figure it out.
      
      Also, this toolbox is a VS extension and can someone point me in the right direction to install this?
      
      Thanks   Ron R
    • To get SQL CE Installed, just install the required runtime as described here: https://sqlcetoolbox.codeplex.com/wikipage?title=Known%20Issues&referringTitle=Documentation - and then install VS 2015 Community (not Express), and then you can simply install the Toolbox from the "Tools, Extensions and Updates" menu
    • Thanks Erik, Seems I have everything downloaded by VS 2015 Community does seem to know about SQL Compact. Do I need to add it somewhere?
      
      Ron R
    • Did you install the runtime and addin? And what does "not know" mean?
    • Got it thanks for your help Erik. I was missing the runtime.
      
      Ron R
    • You are welcome, Ron. If you like my tools, I would be grateful for a review here :-)
  • SqlMetal missing
    8 Posts | Last post July 30, 2015
    • Hello, 
      
      Anytime I want to add a LINQ to SQL for my SQL compact 3.5, I get this error message:
      
      SQL Server Compact - Couldn't find SqlMetal in the expected location: bin\NETFX 4.0 Tools\sqlmetal.exe; 
      
      Can you help me? 
      
      Thank you in advance 
    • Which OS version, and which VS version? And where is sqlmetal.exe located on your machine (if at all)?
    • Thank you for answering, 
      
      OS: Windows 8.1 Pro 
      VS version: Visual Studio 2015 Community
      Sqlmetal location: 
      C:\Users\username\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs
    • That is not the location of sqlmetal.exe, but sqlmetal.exe.log
    • Hello, 
      
      I have found the location but SqlMetal.exe wasn't there at all:
      C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 (The tool points to that file path location.) 
      
      1 - I uninstalled the extension and reinstalled it thinking that all the default files will be added; but no luck.
      
      
      However I found other versions where the SqlMetal.exe already exists
      C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools
      C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools
      
      2 - How can I change the path so SQL Server Compact/SQLite Toolbox will point to one of the versions where the SqlMetal.exe already exists ? 
      
      
      Thank you 
    • I have improved the sqlmetal.exe detection, could you remove, download and reinstall this newer build, and let me know if it Works for you https://sqlcetoolbox.codeplex.com/releases/view/612989 
    • Hello, 
      
      Thank you very much, it works perfectly. And by the way thank you for the tool it is very useful. 
      
      Ailiam A.   
    • You are welcome, feel free to post a review of the Toolbox here...
  • How to insert from CSV file?
    3 Posts | Last post July 24, 2015
    • Hello,
      
      Apologies if this has been answered elsewhere, but I wasn't able to find out after doing some web searching. I'm trying to insert into a .sdf database from an external CSV file. When I try the BULK INSERT command, it appears to not be supported. 
      SQL Server Compact gives me:
      
       Error Code: 80040E14
       Message   : There was an error parsing the query. [ Token line number = 1,Token line offset = 1,Token in error = BULK ]
       Minor Err.: 25501
       Source    : SQL Server Compact ADO.NET Data Provider
       Num. Par. : 1
       Num. Par. : 1
       Err. Par. : BULK
      
      
      
      What's the recommended way to do a bulk insert? I'm runnign version 4.3.0 on VS2015 Thanks!
    • Right click a table and select Import from CSV
    • Thanks EricJ!
  • DataSet (XDS) Visual Design with Sql Server Compact 3.5/4.0
    2 Posts | Last post July 21, 2015
    • Can i use DataSet (XDS) Visual Design with Sql Server Compact 3.5 with this tools on Visual studio 2013?
    • Nope, the DDEX provider is not fully featured enough for that. But using DataSet with SQL Server Compact is generally a bad idea
  • VS 2013 Community Database installation
    2 Posts | Last post July 15, 2015
    • Installed SQL Server Compact/SQLite Toolbox but in my version of VS, the option SQL Server Compact/SQLite Toolbox in the menu Tools shows that SQLCE 4.0 & 3.5 is missing. My question is why? In menu Tools\Extension and Updates it shows that version 4.2 is installed. 
      Some more information in order to understand my problem is when I right click "Data Connections" it is not possible to add SQL Compact 3.5.... as well as 4.0 option. Only possibility is to Add SQLite Connection... 
      Many thanks in advance for your reply.
      
    • You must install the SQL Server Compact runtimes on your nmachine, as described here: https://sqlcetoolbox.codeplex.com/wikipage?title=Known%20Issues&referringTitle=Documentation 
11 - 20 of 94 Items