SQL Server Documentation Generator Tool [closed] - sql-server

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm working on a large SQL Server database with no documentation. Is there a good, preferably free, documentation generator tool I can use to get my head around it.

One tool that I'm using more and more to do this sort of thing is LinqPad (www.linqpad.net). This is far more than just a Linq tool. It is very good at allowing you to drill down through table relationships, as long as FK's are properly in place. This tool is free.
On the non-free side, we also use Red-Gates SQL Doc (http://www.red-gate.com/products/sql-development/sql-doc/). Excellent tool.

You might want to have a look at my new (non-free, sorry) tool - LiveDoco - it's a web app that can be installed on an intranet IIS or even on a local IIS server and then you can just use your favorite browser to connect to a SQL Server database and see its structure/metadata, edit object descriptions or even search in DB object names (tables, columns, functions and their parameters etc.) and in the extended properties where the descriptions are usually stored (under “MS_Description”). And finally there is an export feature you can use to export all extended properties to a SQL file that you can run on a different DB of the same/similar structure to import/update your descriptions/notes there.
There is a fully functional (but read-only) online demo at http://www.livedoco.com.
This link will take you directly to the Person.Contact.ContactID column in the AdventureWorks sample DB from MS: http://demo.livedoco.com/livedoco/Explorer?Server=(local)%5Csql2k8xpress&Database=AdventureWorks#/?L0Name=Person&L1Name=Contact&L2Name=COLUMN_ContactID

Related

how to import mssql database in Mysql [duplicate]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a SQL Server database with lots of data and an empty MySQL database. Now I want to copy all data of SQL Server database (including the database schema) to the MySQL database.
I thought about using raw SQL dump, but SQL Server's SQL syntax is not same as MySQL.
And I have googled some database migration tool, such as south (only for django), simple-db-migration (only for one type of database, maybe PostreSQL?) and SQLAlchemy (I haven't finished learning it, just feeling it somewhat clunky).
What tool can I use to do this migration?
I'm usually using opendbcopy for these kind of jobs ...
I tried this tool once http://dbconvert.com/convert-mssql-to-mysql-pro.php , but you have to pay for the full version. Of course you can write your own migration script e.g. in PHP. On Windows it will be easy to connect to MSSQL server, from a Linux machine you have to use ODBC and that is sometimes a bit messy to install and configure.

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.

Opensource alternative to MATLAB database toolbox [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 7 years ago.
Improve this question
Requirement: An open source alternative to MATLAB database tool box.
Background: I have MATLAB provided at workplace but unfortunately it does not have Mathwork's Database toolbox licensed.
Research done: Though I am newbie but I have searched quite a bit on internet and what I found working for me is demo version of DBtool box Dbtool(http://energy.51.net/dbtool/index.htm). However, the demo version of DB toolbox works fine only on small databases. But whenever I use it on large databases, I get 'time out error'.
Thanks for your help
Nikhil
I found my answer on
How to connect to Microsoft SQL Server 2008 (MSSQL) from Matlab?
However, not every approach works for me. Let me explain a bit further:
The JDBC driver usually work the best. But you must know which JDBC driver to use with your project. For MS SQL, sqljdbc4.jar works just fine. If you connect to MySQL or postgreSQL, make sure you google it for the proper driver. (mysql-connector.jar for mysql and postgresql.jdbc4.jar or postgreSQL)
I have also tried the COM method with success only through ODBC. Finding the correct connection string is really a pain. You also need to install a proper ODBC driver which related to your project. Setting up ODBC connection is actually easy. Once you have DSN set, you just use the connection string like
connectStr = 'DSN=newDSN';
invoke(conn,'Open',connectStr);
Finally, if you decide to go with database toolbox (maybe not in your case), don't expect too much by using it. That toolbox just a wrapper for the above methods. You can definitely complete your project without using it at all.
Some alternatives to what's already been suggested:
ZozaniDB is a database toolbox providing connectivity to Sqlite and Mysql databases (Other database connections may also be possible if you have the JDBC connector). ZozaniDB is more than a database connection; it provides on-the-fly schema generation and allows you to get/insert data without using SQL. (Disclaimer: I'm the developer of ZozaniDB).
If you are looking for a way to connect to SQLITE, Mksqlite does the job.
There's also a Mysql mex file that you would need to compile first: http://www.mathworks.com/matlabcentral/fileexchange/8663-mysql-database-connector
If you're working with MySQL you could try these submissions from the Matlab Central File Exchange. Neither require Database Toolbox. If you're not using MySQL, perhaps you could modify them to meet your needs.
queryMySQL
Access a MySQL database

web front-end for database [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 7 years ago.
Improve this question
I'd like to know if there is some open source web front-end for databases.
I'd like something where queries can be executed from a web browser, only read-only queries are fine. If possible it would be great to be able to select with a gui the columns that are displayed as the result of the query.
As several people asked me, I use Oracle. I'd prefer open source to be able to customize if needed.
For MySQL, phpMyAdmin is the only open source tool I'm aware of. I'm not sure about other types of databases.
I've used one called myLittleAdmin for SQL Server, but it's a closed-source paid product. Probably not going to be much help there.
MySQL has phpMyAdmin, which is quite good.
For Oracle and SQL Server there's Maestro.
It depends on wich database you are going to use, i have used phpMyAdmin before and it is really nice.
phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement.
We use DBHawk from Datasparc. It has many features such as web based query builder, editor, SQL report builder etc. It is not open source, but Datasparc provides customization based on your needs. We are using it for our support team where we need to access many SQL Server/Oracle databases through a browser.
For a PHP/MySQL standard setup, I've found SQLBuddy to be a great (and free) little utility. It's really simple, has almost no install, and it is friendly to use. phpMyAdmin can be a bit overkill for some people especially if you're just messing around with the database and wanna check if your entries were inserted. Check it out.
Not good for you if you're using Oracle but as well as phpMyAdmin, there is also phpPgAdmin for us folks who use Postgres.

Best software for showing SQL Server Database Structure [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 have a MSSQL2005 DB with about 140 tables. I want to create either an accessible diagram or a printable API type document with the table structure. Is there a program that offers this kind of db visualization?
I find the diagramming built into SQL Server to be very clunky and very inaccessible for my DB size.
Take a look at SQL Doc.
I always used Visio for this type of thing.
I like Toad Data Modeler for this. It reverse-engineers Microsoft SQL Server databases (and other brands of databases too), but more than that, you can start making your modeling changes inside the tool and it'll generate change scripts.
If you use somebody else's tool, make sure that you can round trip changes - meaning, if you put all the time and effort into getting your documentation right, and then you change the database inside SQL, can you re-import your changes from the database without overwriting your work in the documentation tool? Most of 'em don't do that, but Toad Data Modeler does.
(Disclaimer - I work for Quest. I used this program before Quest bought it, though, and always loved it.)
http://www.quest.com/toad-data-modeler/

Resources