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
Is there a database diagramming tool for SQL Server 2012 that does not affect the underlying database structure? I have a collection of tables that currently don't have any relationships defined. I would like to diagram the database tables to demonstrate where we should setup some relationships.
I was starting to use the diagramming tool in SSMS 2012, however from what I understand the underlying database will be changed as I add relationships and/or change table structures. I am just looking for a solution to diagram out possible changes rather than implement them.
Also, I am looking to avoid having to type in all the column names since the tables can contain a large number of columns.
You can right click on you DB the choose Generate Scripts
Then click Next until you have the option to choose Advanced
Click on Advanced, choose what you want to include in your scripts and Finish the process.
Then just run the script generated to create a new exact same DB where you will use the designer.
Visio (prior to Visio 2013) can be used to diagram database tables. Check out the Reverse Engineer option. The instructions here should help with creating the diagram. The changes you make can be saved locally without affecting the database.
Related
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
The organisation I work at usually uses Oracle or SQL Server for our databases. However we have a requirement to create only a small database, but the small amount of data it will hold is highly sensitive (IL3).
It has been specified that we need to encrypt the data 'at rest' and provide auditing of anyone looking at records in the database.
We know that SQL Server and Oracle can do that. But as this server will not be able to utilize existing licenses, an expensive edition of the database would be required to provide the functionality that is required. Thus we are considering alternatives with lower or no licensing costs.
We need to also be able to use a connector from Entity Framework Connector.
Are there any open source databases that can deliver that functionality?
Can Postgresql provide that functionality?
Thanks,
DavidC
The encryption is straightforward enough - just set up an encrypted partition and keep your data on there. That keeps the encryption out of reach of the RDBMS altogether.
For the auditing, it depends how strict you need to be. There's no way to keep someone with full superuser access from fiddling with logs etc.
However, you could log all queries and copy logs to a different machine (presumably keeping the logs on an encrypted partition too).
For routine access direct all access through custom functions that log access along with user details.
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
Operating system used is linux. I have tried Navicat and SQL Power Architect. They did display relations between tables in the same schema. I have some foreign key constraints which reference tables in a different schema.
Am I missing something with respect to Navicat and PostgreSQL Maestro? Can they not display the inter schema relations?
Is there data visualisation tool for postgresql which is capable of displaying inter schema relations as well?
UPD Sorry for editing your question, but I found it useful. Because this is closed I can not answer (maybe there should be site for that??)
For drawing table relationship of your database you can try this script of GraphViz::DBI perl module.
As result you will get the GIF with relations
I've recently discovered DBeaver. It automatically detects relations between tables in a visual manner. You can move tables around, change colors, see foreign keys, etc. It's extremely good. Fully compatible with PostgreSQL
Querying and manipulating data using the GUI is extremely easy.
Not only that you can use it with all major SQL and noSQL databases, so all your data can be managed in just one place.
DbVisualiser seems to do what you're after: http://www.dbvis.com/doc/main/doc/ug/databaseSpecific/postgresql.html
There's also a list of alternate tools here (though it's not as query-able a list as you'd expect from a DB):
http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools
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.
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 want tool for to generate DB diagram below, i need to generate particular db tables structure like below,
how can i do that?...is there any free tool or application is available for that. i already tried navicat8lite_ora_en and HeidiSQL. but i can't make it work.
Yes you can generate ERD with PHPMyAdmin. PHPMyadmin added this functionality from version 3.4
detail step to generate ERD: http://sforsuresh.in/generating-erd-using-phpmyadmin/
You can refer to PHPMyAdmin documentation for more info: http://www.phpmyadmin.net/documentation/#pmadb
MySQL Workbench will reverse engineer and engineer scripts for you. Output will be similar to what you have above, but not identical.
Try Vertabelo. It's an online database modeler working under Chrome. It is:
free to use,
OS independent,
allows versioning,
supports model validation,
generates SQL scripts for particular database:
allows sharing your DB model with other members of your team,
allows reverse engineering - so you can easily migrate your database to Vertabelo,
suports following databases:
PostgreSQL,
MySQL,
Oracle,
IBM DB2,
HSQLDB,
MS SQL Server.
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/