does anyone know of a very simple SQL Server client tool - that does the same basic functions as Management Studio (i.e. choose a database and run a query - doesn't need an Object Explorer, or anything fancy)?
Ideally it would be great to have a single exe or zip file version that I could take around on a USB key - anything to avoid installing the full set of SQL Server client tools all the time
Mini SQL Query...
https://github.com/paulkohler/minisqlquery
Note
If you are having errors, log an issue at https://github.com/paulkohler/minisqlquery/issues rather than sending a down-vote to stack-overflow, that won't help the open source project! Over the years I have managed to reproduce and fix most errors, several of them are logged via codeplex, many by email - some are harder to diagnose and fix due to not having the same platform setup but even a stack trace with the DB type is a help.
PK :-)
- It's a about 2mb download (SQLite is included by default now)
- Connects to SQL Server (or many other ADO.NET provider enabled databases such as Access, SQLite or even Excel files etc)
- Requires .NET v3.5 as a minimum to run
- Supports basic SQL Syntax highlighting
- Can export data and create insert data scripts
- Can run off USB drive
- Has an 'Database Inspector'
- Has a 'quick table viewer'
- Contains simple statement generation
- Has an inbuilt 'code generator'
The official tool blurb:
Mini SQL Query is a minimalist SQL query tool for multiple databases (MSSQL, MSSQL CE, SQLite, OLEDB, MS Access/Excel files etc). The tool uses a generic schema engine taking advantage of the ADO.NET providers. Mini SQL Query is also easily extended with plugins.
The whole reason it came about was the need to run queries on remote machines with little access, slow links, can run off a USB key etc etc ;-)
PK :-)
Try Query Express. Its free and small (100 KB executable).
I searched for a tool that was truly portable and did not require a prerequisite like the .NET framework or a Java virtual machine. I found HeidiSQL which works for SQL Server and MySQL, and it's free. It offers either an installer or a portable version and is still under active development.
Check out Toad for Sql Server. It's large, but not quite as gnarly as SSMS. http://www.toadworld.com/m/freeware/550.aspx
I wonder if you would be interested in SQL Workbench/J.
OR, SQLeonardo.
I have been using SQuirrel SQL for years with no problems. Easy to use, autocomplete, etc. the only difficulty is to setup the appropriate JDBC driver which is not included in the default download, but it's not too hard to do.
Have you considered sqlcmd.exe ? Or perhaps taking an installation for the PowerShell Snapins? There's a lot of functionality you could get that way.
Otherwise, it's easy to roll your own tiny app.
I keep a copy of the old isqlw.exe and the 2-3 DLLs that are needed for it. That is, the SQL 2000 Query Analyzer. It runs from an USB drive, no install needed.
https://sites.google.com/site/basicsqlmanagment/ is free for SQL Server and MySQL
There is also Aqua Studio
来源:https://stackoverflow.com/questions/2496898/decent-simple-sql-server-client