database design tool question [closed] - database

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
is there a good database design tool can generate sql script to create database (tables) in major database (Oracle, MySQL, SQL server, Sybase) without any changes?
Which design tool are you think is good.

I prefer Power Architect, for the same reasons I listed in this question:
Accesses source databases via JDBC
Connects to multiple source databases concurrently
Compares data models & database structures and identifies discrepancies
Drag-and-drop source tables & columns into the playpen
Remembers the origin of each column
Generates source-to-target visual Mapping Reports
Forward/reverse engineers PostgreSQL, Oracle, MS SQL Server & more
Saves source data structure snapshots in the project, so you can work remotely
All project data is stored in an easy-to-parse XML format
OLAP schema modeling: Cubes, Measures, Dimensions, Hierarchies & Levels
GPL (version 3) licensed
...and a couple reasons of my own:
runs on basically any platform
has fairly nice keyboard support for fast model development
relatively useful diagram auto-layout

I've used Datanamic's DeZign for Databases with success. It's a graphical interface that can generate the scripts for almost every major database.

I am using Enterprise Architect. I use it for all of my design UML based use cases, Architectural views, class/collaboration diagrams and database schema. Its great. One can generate script very easilly.

Maybe you could consider using the UML2DB SQL generation service:
http://modeling-languages.com/content/uml2db-full-code-generation-sql-scripts-databases
Choose your UML tool (e.g. ArgoUML), draw a class diagram, (optional) configure some code-generation options in the web interface and it's done. Forget about using stereotypes or profiles. Let the service use common-sense to do the generation for you. All major database vendors supported.

Related

Which database system should I use? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have been doing quite a bit of research trying to figure out which database system would best suite my needs, but I need a little guidance. I am writing a VB.Net program that keeps track of inventory, to be used by small businesses. I will be using a client server type model, with 1 computer on the network acting as a server, the rest clients. The avg number of client computers will probably be 2-5 or so. The most would be 10-15. Right now I am using an Access DB stored on a network Hard drive, but that way is slower and not very stable. Access was the first DB for me to learn how to program with so that is why I am using it now, but I know I need to change that going forward.
Requirements:
I want the installation process to be easy and simple because these businesses will have no IT Dept. Database server needs to be installed along with program installation.
Items and customers will be continuously added, so database size limits concerns me a little bit, as I don't want to have problems later on when the database size gets maxed out.
Here is what I have gathered about the following DB types:
Access: What I use now. file based db. not intended for multiple users using 1 DB.
MySQL: Open source but seems distributing with program requires licensing, so this is out. I wish this was an option, but I need free.
SQL Server EXPRESS 2005/2008: No licensing, also 2008 R2 has a 10gb limit. I am leaning towards this for now. Seems to be easiest integration with VB.Net & Visual Studio. Prerequisites are available in Visual Studio (for SQL Server 2005) so SQL server will get installed during program installation.
SQL Server CE: file based db. maybe not the best choice for client/server setup? Might not be any better than how I use Access now. Correct me if I'm wrong.
Firebird: I see other programs are using it in a client/server type setup, but it looks like a file based db? Also looks like support for vb.net + firebird is scarce, which scares me. No limits though, which would be awesome.
I've done tons of research, but I still don't know which is best for my situation.
I think the approach you are taking is incorrect. You're asking your customers to install a RDBMS system and software when they don't have an IT department. Who is going to maintain this?
If this were me, I'd propose a hosted model web app perhaps using Windows Azure where you have a single centralized database for all your clients (create a multi-tenant database) and Microsoft handles all the infrastructure hassles. Or go with some third-part hosting solution that supports SQL Server 2012 (why consider 2005 or 2008?). Either would be better, IMO, than what you're proposing. And I believe it would be considerably easier to maintain and serve all your clients in this type of set up.

Advantage to using SQL Server Reporting Services? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
What advantage is there to using SQL Server Reporting Services instead of just using normal reporting through the application ?
I can understand that the data is on the SQL Server so perhaps this is a good place to serve the report from but what are the actual advantages in practice and is it worth converting your app to use Reporting Services?
As usual, it depends :-) If your application purpose is only to serve reports based on data from SQL Server 2005/2008 database, then using reporting services could give you this without a need to develop anything (maybe beside creating report definitions).
So what is given by reporting services:
reports designer (quite easy to use),
it could handle user authentication and authorization,
report subscriptions,
exporting reports to various formats (xls, csv, pdf).
This is only excerpt from full functionality of SSRS. I have used them only a little and quite a long time ago, so I could have forgotten something. As I remember MS prepared report viewer controls, which were usable in ASP.NET web sites and windows forms applications.
Additionally to what you have written in question- as far as I remember reporting services do not need to be installed on same server machine as SQL Server.
If reporting is only minor feature of your application and you have only few specified and already implemented reports, then maybe there is no need to use SSRS.
To summarize, in my opinion main advantages of Sql Server Reporting Services are:
they fullfill most reporting needs without need to develop all those
features,
they allow to create easily new reports,
they fit very well into MS environment and integrate easily with it.
Not all applications include reporting components, and those that do will normally have a limited set of reports available.
With SSRS - or any tool for writing your own reports (such as Crystal, Cognos, BIRT, Jasper etc.) - you can report any data from any data source you can access, in pretty much any format you require.
However, you will have to write the reports yourself.

best database book for developers [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to download a good database book for developers, can you guide me and send me good links to find a good one. I am working with SQL Server 2008.
This has been asked here many times before:
A beginner's guide to SQL database design
Can anyone recommend a book for building enterprise database applications in .Net?
My personal favorite resource is Books Online - this is the documentation that comes with SQL server.
For database concepts Fundamentals of Database Systems
Good Books for SQL Looking for a good book to learn SQL
For SQl Server How to Learn MS SQL Server 2005?
Beginning SQL Server 2005 Administration
FOr MySql What are the best books for MySQL?
Book recommendation for advanced SQL design, scripting and optimiziation.
What are some resources I can use to learn profiling/optimizing?
Funny that no one seems to mention Date's "SQL and relational theory : How to write accurate SQL code".
Head First SQL (O'Reilly) is excellent, whole series is great.
They start of with the basics (as do most books), covering syntax, database design and advanced querying.
Excrept:
2008 Jolt Productivity Award Winner!
Is your data dragging you down? Are your tables all tangled up? Well
we've got the tools to teach you just how to wrangle your databases
into submission. Using the latest research in neurobiology, cognitive
science, and learning theory to craft a multi-sensory SQL learning
experience, Head First SQL has a visually rich format designed for the
way your brain works, not a text-heavy approach that puts you to
sleep.
Maybe you've written some simple SQL queries to interact with
databases. But now you want more, you want to really dig into those
databases and work with your data. Head First SQL will show you the
fundamentals of SQL and how to really take advantage of it. We'll take
you on a journey through the language, from basic INSERT statements
and SELECT queries to hardcore database manipulation with indices,
joins, and transactions. We all know "Data is Power"—but we'll show
you how to have "Power over your Data". Expect to have fun, expect to
learn, and expect to be querying, normalizing, and joining your data
like a pro by the time you're finished reading!
See Kalen Delaney's recommended reading list. There's some great books listed there, as well as other resources.
May I recommend
Microsoft SQL Server 2008 R2 Unleashed

Is there any SQL Server database designer software like MySQL workbench? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to design database for SQL Server, is there any MySQL workbench like software for that? I have access to MSDN, so it can also be commercial product that can be found form MSDN.
SQL Server ships with SQL Server Management Studio which is probably what most SQL developers use to develop in T-SQL and do basic schema management.
There are also a myriad of third party products like the following:
http://www.sql-workbench.net/
The software that corresponds best to MySQL Workbench is Microsoft SQL Server Query Analyzer. In my opinion its a great product, superb for developing and testing SQL queries. It's stable as a rock. Alike MySQL Workbench it sports a tabbed interface. One nice feature is that if you write multiple queries in one tab you get the corresponding number of outputs, all in the same tab.

What is a free tool to compare two SQL Server Databases? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What is a free tool to compare two Sql Server tables (data and schema).
It would be great if the tool can script the differences found.
I also went through some older posts. The closest I have seen is SQLDBDiff but I would love to try more options.
TableDiff.exe should have everything you need. It is one of the hidden gems in SQL Server 2005. So you don't have to download anything.
• Table Difference tool allows you to discover and reconcile differences between a source and destination table or a view. Tablediff Utility can report differences on schema and data. The most popular feature of tablediff is the fact that it can generate a script that you can run on the destination that will reconcile differences between the tables. TableDiff.exe takes 2 sets of input;
• Connectivity - Provide source and destination objects and connectivity information.
• Compare Options - Select one of the compare options
• Compare schemas: Regular or Strict
• Compare using Rowcounts, Hashes or Column comparisons
• Generate difference scripts with I/U/D statements to synchronize destination to the source.
TableDiff was intended for replication but can easily apply to any scenario where you need to compare data and schema.
You can find more information about command line utilities and the Tablediff Utility in Books Online for SQL Server 2005.
Even though this has been answered years ago a new comer which works really well is Data Compare within Visual Studio. It is part of Visual Studio 2010 and is part of the Database Professionals GDR update to Visual Studio 2008. This works great when you want to compare the same tables in 2 different databases.
If you need to compare 2 tables with the same schema that are in the same database or with different names TableDiff (mentioned earlier) is a great option.
DBComparer is free and works well for MS SQL Server
Atlantis Interactiv, now owned by Pragmatic Works has two free tools called Schema Inspector and Data Inspector that works very much like the Red Gates tools.
Try CompareData from Zidsoft. It's free for comparing table/view data and has 30-trial for metadata comparisons
We can recommend you a our reliable solutions for data and schema comparison for SQL Server: dbForge Schema Compare for SQL Server and dbForge Data Compare for SQL Server.
Their main advantages are high speed (up to 3 times quicker than most competitors) and extreme reliability.
Those tools are not free, but you can use 30-days trial for free and you have an opportunity to get a free license for both of the products - please refer to our free license conditions page.
A SQL Server specific database table diff tool is Volpet's Table Diff

Resources