Forum Moderators: phranque

Message Too Old, No Replies

Blueprint for building a new database

         

Westat1

4:14 pm on Sep 3, 2002 (gmt 0)

10+ Year Member



Hi,

I am in the process of building a new database, and thought for it might be best to have a blueprint for this one, given the client is a pain in the a55. What do people use? Does anyone have a template that I could look at?

Thanks,

Nick_W

4:17 pm on Sep 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What kind of database, and what do you mean by 'blue print'? Do you mean like a list of the fields and what they are (darnit, can't remember the proper word for that!)

Nick

[edited by: oilman at 5:09 pm (utc) on Sep. 3, 2002]

txbakers

4:29 pm on Sep 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the word is schema.

Yes, a blueprint is always a good idea. People use Visio, but an excel spreadsheet will work just as fine.

It's just a big drawing with lines connecting keys. It's well worth the time to make sure everything is clear before you start coding anything.

buzzmaster

4:34 pm on Sep 3, 2002 (gmt 0)

10+ Year Member



I've used "Dezign for databases" by [datanamic.com...] . It works with MySql, etc. It does the trick.

Nick_W

4:40 pm on Sep 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think the word is schema

You can see that I've not done any DB work in a while...;)

Nick

PaulPaul

4:48 pm on Sep 3, 2002 (gmt 0)

10+ Year Member



Actually the word, or acronym is ERD ( Entity-Relationship Diagram ). This is a method of graphically displaying a database structure along with all its relationships.

Schema is a method to describe a database when it is already created. ie. SQL Scripts.

Westat1

4:50 pm on Sep 3, 2002 (gmt 0)

10+ Year Member



Thanks. I was going to use Visio, but can't find the database stencil and too lazy to create my own.

I know (or atleast think I know) the major "buckets" (or fields) that I will record but I am having a hard time setting up the various relationships.

How do you create it in excel?

Nick_W

4:51 pm on Sep 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, schema is the word I was looking for... but you're ERD is pretty cool ;)

Nick

PaulPaul

4:55 pm on Sep 3, 2002 (gmt 0)

10+ Year Member



I wish ERD was mine, lol. I believe it was formally introduced to the computing public in 1979.

I have a definition of Schema for you:

Schema- the structure of a database system, described in a formal language supported by the database management system (DBMS). In a relational database, the schema defines the tables, the fields in each table, and the relationships between fields and tables.
Schemas are generally stored in a data dictionary. Although a schema is defined in text database language.

aspdaddy

5:01 pm on Sep 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Select, or Access:-) is good for knocking up an ERD.I dont think Visio actually has any special features for helping build ERDs.

SQL Server has a diagram feature that includes datatypes as well.

txbakers

5:18 pm on Sep 3, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To use excel, you just list your tables in columns, with the fieldnames as rows. Start the related columns near the fields that match the first, and so on. You can even put a blank column in between to use for drawing lines from field to field.