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 > Database Concepts & Design > general question on field specifications

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-09, 10:34
rbfree rbfree is offline
Registered User
 
Join Date: Feb 2009
Posts: 104
general question on field specifications

Do you DB designers out there typically build detailed field specifications as part of your design process? How detailed to you get?

One of my reference books goes into great detail. I've followed this track as a learning exercise -- and it's been a worthwhile exercise. So, I'm wondering if I should fill out field specs for every project.
Reply With Quote
  #2 (permalink)  
Old 02-10-09, 11:38
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
my design process comes in two stages -- logical design and physical design

in logical design, i might note that the Persons table needs to record people's addresses, and leave it at that -- address being the logical attribute

during physical design, i flesh this out to actual columns, datatypes, constraints, etc.

yes, specifications require detail (especially if you are handing them off for someone else to implement)

but don't try to do everything at once

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 02-11-09, 09:43
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Working on a large project, we always specify our tables in detail using a CASE tool from which we eventually crank the DDL to create the tables.

For a very small project I might not go into such detail before creating the tables - though you still need to be careful to ensure you are consistent with column datatypes and sizes in different places (e.g. foreign keys).

When I was new to analysis and database design I used to use all the (paper-based) tools I had been taught: ERDs, FHDs, DFDs, entity life histories, CRUD matrices, who knows what else. It probably was useful to me at the time, giving me confidence that I'd covered all the bases. With experience, I learned to skip some of these entirely, or to use them judiciously in special cases. I'm still rather partial to ERDs though.
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
  #4 (permalink)  
Old 02-11-09, 10:42
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
heh - you said "CRUD"

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
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