Best Sql Server IDE for scripting / development needs [closed] - sql-server

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for the best Sql Server IDE for scripting / development needs. Must haves:
Visual GUI for creating complex queries
Intellisense for all db objects
Auto-format capability to format SQL script to a particular format / coding standard.
SELECT Sql output to .xls, .txt with custom choices in delimiters / format
Cost is not an issue. When you make a recommendation, can you state why you prefer it, and what other IDEs you have tried before. Thank you.

SQL Management Studio with SQL Assistant (www.softtreetech.com) or SQL Prompt (www.red-gate.com)

I would suggest looking at SQL Everywhere. I have completely moved off of MS SQL Studio Management tool. The biggest advantage to SQL Everywhere for me is auto-complete (Intelisense) even against a SQL 2005 server. The format SQL feature is ok.

Anything wrong with the management studio that comes with Sql Server? The 2008 version meets all your requirements.
[edit]: I take it back: it can do autoformatting in the right circumstances, but it's painful and to my knowledge doesn't allow you to specify the coding standard. Also, the intellisense is weak.

try linqpad.

Try out
EMS SQL MANAGER Lite Version
Toad For SQL Server
I personally like EMS SQL Manager Lite, its not so lite in making your job easier, trust me :)

ApexSQL Edit. Not wild about their GUI query editor, but great on intellisense and formatting. Also includes options to copy out of the result set to Excel, CSV, and HTML via clipboard and some handy custom column copying tools. I'm practically crippled in SSMS because ApexSQL Edit has me so spoiled.

As a well-performing tool for SQL developers I can recommend dbForge Studio for SQL Server. It matches all your requirements.
Specifically it has:
- Visual query builder that enables creating complex queries
- Intellisense that is comparable one provided by SQL Prompt
- SQL script formatting with multiple options
- SELECT output export to .xls and .txt plus 6 other formats (has wizard for export customization)

Related

Simplest means to develop relational database for SQL Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 months ago.
Improve this question
For those of you have have experience of this, what particular tools would you recommend?
MS Access
MS Visual Studio
SQL Management Studio
etc?
For use with SQL Server 2008 R2 as part of an online booking system with multiple tables and relationships, and incorporated into an ASP.Net site.
Both SQL Management Studio and Visual Studio are good options. With Visual Studio you can work with the database and your projects in one window. You can do most basic database operations in Visual Studio. SQL Management gives you additional options and flexibility like backing up database wizard, SQL Profiler, Execution Plan
I would go with SQL Management Studio. I've worked with it before and it met all demands, and didn't have any problems. And I would think with SQL Server 2008 R2 it wold be a safe choice.
Your question is a little vague, so I'm going to give an answer that is probably a little more broad than you need.
TL;DR - SSMS gives a great development environment for databases.
Typically, when building a new system, I design my data structures on a whiteboard. Once these are pretty well defined, I put them into SQL using SSMS's table designer, including Primary Keys and Foreign Keys, but no additional indexes.
Once I have the basic layout defined, I'll generate a Database Diagram, print it out, and review to make sure 1) I've built the system as defined, and 2) I don't see any glaring items that are missing. Assuming no issues, I'll start development.
At this point, if I want to use Entity Framework, I can just use the DB-First method, and I'm ready to go. If I want to use an alternate method, such as DataReaders/DataSets, I'm also good to go.
Any views, stored procedures, etc I build by hand inside of SSMS.
I leave out indexes until a good portion of the functionality is complete, so as to not prematurely create indexes that end up giving no value.

Viewer/Query Analyzer for SQLite databases [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've been using SQLite databases for development for a while now and I thought it would be useful to just view the contents of the generated db file. Are there any good tools out there for viewing SQLite db files and/or tools for running queries against them?
Here are a few free tools:
SQLite Manager (Firefox plugin)
SQLite Administrator
SQLiteSpy
SQLite Database Browser
I prefer SQLite Administrator, and occasionally use the Firefox version. There are other commercial options too.
SQLite Database Browser.
SQLite2009 Pro Enterprise Manager
It's free and it has a visual query builder just like professional database management tools.
Its list of features is:
Encryption Method compatible with wxSQLite3 (AES-128 bits) and
SQLite3 ADO.NET Provider (RSA-MS Crypt)
Syntax Highlight
Hex Viewer
Dump database to SQL file format
Unicode Support
Blob/Image viewer
Built-in FTS3 Extension
Built-in LUA Programming Language
Encrypted database support
Export recordset into excel, csv, xml and html format
Import data from MS Access, MS SQL server, MySQL and dBase III
Includes SQLite2010 Pro ODBC Driver
Includes Additional sqlite3 function (compress, decompress, crc32,
md5, lua_exec, etc)
Transactions supported
Visual Query Builder
Includes the user-contributed extension-functions from
http://www.sqlite.org/contrib.
Download it from its homepage (just scroll down to Freeware section)
Sqliteman - I was looking for something light and available on Fedora repo.
I was recently introduced to LINQpad . I might not have as many features as some of those above (though I haven't fully explored it yet). But it's pretty sweet, for a simple query interface that works.
Plus you can practice your LINQ with it too!
Here is another database viewer nobody has mentioned: SQLiteStudio

Your favourite database client tool [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Wondering what is the best or most popular database client tool. Similar to Microsoft's SQL management studio, but one that can work with various databases. Other tools I have found are:
Toad for SQL Server
Database fishing tool
Apex SQL Studio
Some of these tools can even compare and sync database schema's and some cases the data itself as well. Very useful when deploying applications for example from a pre-production environment to production environment.
So what's your favourite database manager ? Maybe there is a nice open source tool out there that is well rounded with the most useful features.
SQuirreL SQL
Open source
Works with many databases
SqlDbx - www.sqldbx.com - has a free edition, is portable and works with quite a few dbs.
Also AnySQL Maestro - http://www.sqlmaestro.com/products/anysql/maestro/
I use PL/SQL Developer, as soon as I have to work on an Oracle Database. I like the UI, simple and fast.
I'm using Aqua Data Studio for many years now and it is the most valuable of all my tools - see Aquafold
I use Navicat myself. It supports MySQL, PostgreSQL and Oracle.
SQL Developer is nice for Oracle and has plugins for several other databases.
http://www.oracle.com/technology/products/database/sql_developer/index.html
Eclipse Data Tools Platform within Eclipse (my primary IDE):
Open source, works with many databases
Do all the basics and some advanced stuff. In recent versions you can find some kind of visual query builder as well.
Oracle has a plugin where implemented some Oracle-specific functions.
If you are using PostgreSQL (and, really, you should be!), PgAdmin rocks. It lets you query, explore tables, do administrative tasks, manage users, visually explain complex queries, graphically build queries and much more. It runs on Windows, Linux and OS X and can connect to local or remote PostgreSQL servers.
DbVisualizer - there's a free version with a bit limited functionality and a fully fledged one for $149.
If your're using MS Sql Server, try using LinqPad; it's much more lightweight than the Management Studio, and you'll be practicing writing queries in linq in the meantime as well.
(source: linqpad.net)
I prefer...
PL/SQL Developer for Oracle
The inbuilt tool for MSSQL
The inbuilt tool for DB2
RazorSQL - it works with pretty much any database you can think of.
Any comments on LyteRAD? Not a pure database management tool, but good for creating and prototyping db apps quickly.
I've used Query Express and it's great because it's actually a standalone 100 KB file, no installation needed. It only does querying but it's fast and free.
SQLyog for MySQL.
TOAD for when I worked with Oracle.
If you need data comparison, schema comparison or visual query builder, than you should take a look at our database tools for SQL Server:
dbForge Schema Compare for SQL Server
dbForge Data Compare for SQL Server
dbForge Query Builder for SQL Server
All these tools are quite affordable and have 30-days trial period.

What profiler to use with sql express? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
is there a way to monitor detail of sql calls in express version?
Try SQL Express Profiler.
I've used it a bit and it seems to work as advertised.
As most of the profilers mentioned above seem to be dead or gone commercial, I would like to share what I found some days ago:
SQL Express Profiler
Since CodePlex has been retired, the project moved to GitHub and seems to have no binary download options anymore, so you have to compile it from source code.
I'm currently using it with SQL Server Express 2012 to monitor queries form my NHibernate applications (didn't want to add log4net just for this purpose and show_sql outputs only to console window which I don't have in my WCF service).
Really nice and stable utility. I find it much easier to use than MS SQL Profiler which needs various settings, trace profiles for various server versions and what not. Express Profiler - just launch, hit Run, and all the T-SQL and sp_execute queries are displayed.
It's open source, you can add even more features if you wish. I guess, Clear button would be useful because now you have to Stop and Run again to clear the list.
Express edition is just the full version with some limitations (2GB ram, 2 cpu cores, 4GB DB), so if you have the tools for the full version, use them. I think the trial version off the MS website will allow you to use the tools - but not the engine - for more than 60 days..... tho there may be an official package of the tools around for express
I have been using AnjLab Sql Profiler for quite some time. I have had no problems with it.
Edit:
Here is the link: http://anjlab.com/en/projects/opensource/sqlprofiler
The mentioned SqlProfiler For Express Edition works fine for development.
But I have not found it always useful in solving production emergencies, like when sqlexpress takes 100% of server processor capacity. I couldn't get the profiler produce any trace in one such case. Perhaps there are similar experiences?
The free SQL profiler others mention appears no longer available. Next best alternative might be something like this:
http://www.codeproject.com/Articles/20173/MS-SQL-Server-Profiler-with-NET
You could rather use SQL Server Extended Events instead of any Profiler.
Extended Events are available from within the Express version. There is UI management from SQL Server 2012 under the Management folder of a server in the Object Explorer window.
You can read a good answer on the advantages of using Extended Events over SQL Profiler -which include less performance overhead- at Stack Exchange:
https://dba.stackexchange.com/questions/2665/when-should-extended-events-be-used-instead-of-sql-profiler-perfmon
"Extended Events is the future of monitoring & troubleshooting going forward and some day in the future SQL Trace will be removed"
Regards.
As a developer we can buy SQL Server 2005/08 Developer Edition which is available for $50 or so. It has full featured SQL Profiler and works beyond SQL Server Express SKUs limitations.
If not than use SQL Express Profiler
Hope this helps!

Generate table relationship diagram from existing schema (SQL Server) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a way to produce a diagram showing existing tables and their relationships given a connection to a database?
This is for SQL Server 2008 Express Edition.
Yes you can use SQL Server 2008 itself but you need to install SQL Server Management Studio Express (if not installed ) . Just right Click on Database Diagrams and create new diagram. Select the exisiting tables and if you have specified the references in your tables properly. You will be able to see the complete diagram of selected tables.
For further reference see Getting started with SQL Server database diagrams
Try DBVis - download at https://www.dbvis.com/download - there is a pro version (not needed) and a open version that should suffice.
All you have to do is to get the right JDBC - database driver for SQL Server, the tool shows tables and references orthogonal, hierarchical, in a circle ;-) etc. just by pressing one single button. I use the free version for years now.
SQLDeveloper can do this.
http://sqldeveloper.solyp.com/
For SQL statements you can try reverse snowflakes. You can join at sourceforge or the demo site at http://snowflakejoins.com/.
Why don't you just use the database diagram functionality built into SQL Server?
Visio Professional has a database reverse-engineering feature if yiu create a database diagram. It's not free but is fairly ubiquitous in most companies and should be fairly easy to get.
Note that Visio 2003 does not play nicely with SQL2005 or SQL2008 for reverse engineering - you will need to get 2007.
DeZign for Databases should be able to do this just fine.
SchemaCrawler for SQL Server can generate database diagrams, with the help of GraphViz. Foreign key relationships are displayed (and can even be inferred, using naming conventions), and tables and columns can be excluded using regular expressions.
MySQL WorkBench is free software and is developed by Oracle, you can import an SQL File or specify a database and it will generate an SQL Diagram which you can move around to make it more visually appealing.
It runs on GNU/Linux and Windows and it's free and has a professional look..

Resources