If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Applications & Tools > Do you prefer graphical tools or DDL for DB definition?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-11, 12:50
Anna-J Anna-J is offline
Registered User
 
Join Date: Jan 2010
Posts: 19
Do you prefer graphical tools or DDL for DB definition?

I've been using Sparx Enterprise Architect for a while, to draw DB diagrams and generate DDL code. I prefer writing DDL to drawing in Sparx, because it's faster and gives you better control, but I put up with Sparx and generate the DDL with it, because that way the diagrams will always be in sync with the DB.

DB programming and design is a rather small part of my work, so I'm curious what those of you who are more or less full time DB jockeys prefer, DDL code or graphical designer tools?
Reply With Quote
  #2 (permalink)  
Old 09-12-11, 13:16
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
not fulltime any more, but 30+ years in database design

much prefer DDL

graphic interfaces are all crappy, each and every one
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 09-23-11, 10:51
Anna-J Anna-J is offline
Registered User
 
Join Date: Jan 2010
Posts: 19
I half expected a few differing strong opinions on this subject, but from the absence of posts, I assume that everybody agrees with Rudy. That would pretty much mirror my experience with OO code vs UML tools - the graphic tools are great for drawing the big picture, but IMHO painful to use as code generation tools.
Reply With Quote
  #4 (permalink)  
Old 09-23-11, 14:39
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
For large or complex problems, automation is the only way I know to solve the problem so I use a tool like ERWin to help me manage the schema. At least for me, "Large" starts somewhere between 200 and 300 tables and complex starts with about five hundred relations.

For small to medium problems, I like the speed and the relative simplicity of writing my own DDL.

As a side note, when you need to build a schema that can be implemented across multiple database engines (such as DB2, Microsoft SQL, MySQL, and Oracle) or multiple database models (such as SQL, Eifel, PICK, and MUMPS) a modeling tool is also a great help. There are many ideas and modeling approaches that don't work across all database models.

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #5 (permalink)  
Old 09-24-11, 19:50
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
I don't use any GUI tools to do DBA type of work and never will.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On