473,378 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

DB design thoughts??

Hi,

I'm in the process of designing a DB (typical management system DB; 2
transaction tables and about 5 look-up ones )for one of the departments
in our company. The user wants this DB and thusly the client (forms,
reports..etc.) solely for his department. However, I do expect soon
after deployment that other users want similar DBs and clients,
therefore, facing problem of integrating such DBs, if company
management wants to implement it as enterprise DB. My question (may be
you could also tell me about other groups specialized in these kind of
issues), how should I create such DB? Should I create extra look-up
table for departments and have each one with its own ID and link it to
the main transaction one

MTIA,
Grawsha

Jul 23 '05 #1
3 1043
I'm not sure there's such a thing as a "typical" management system
database - at least not from the point of view of logical design. A
"look-up" is really a UI feature - I suggest you avoid that term when
talking about database design. It may seem at first like a minor detail
of terminology but it it helps to treat all entities as equal in your
logical data model. Identify the entities and attributes of interest
and create a normalized design from there.

You are probably wise to anticipate extending the data's use beyond one
department. In an enterprise environment it usually pays to share data
rather than fragment it. Department is therefore likely to be one of
the entities in your model.

--
David Portas
SQL Server MVP
--

Jul 23 '05 #2
David,

Thanks for the info. Since more than one dept. will end-up using this
DB and they may need to know their dept. no when using this db, I would
like to avoid using Identity field for such thing (numbering records
using identity field).

Any suggestion about other ways of numbering departments?

Grawsha

Jul 23 '05 #3
If there's a department number that your organization already uses then
use that in the DB.

If you have to come up with your own then one handy approach is to
assign ranges of codes to organizational entities and sub-entities.
Example:

100 Finance
101 Accounts Payable
102 Credit Control
103 Management Accounting
....

200 IT
201 Development
202 Network Support
....

This is useful because you can extract departments and their
sub-departments with a range query (IT: depno>200 AND deptno<300 ).

--
David Portas
SQL Server MVP
--

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: John Morgan | last post by:
Though I have designed and implemented a number of large reasonably well received web sites I do not consider myself a graphics designer I am now for the first time going to work with a ...
10
by: BlueDolphin | last post by:
I'm not sure if this is a question or more of a rant... but I'm looking for some input on this from other developers out there. How often has the following happened to you and how have you dealt...
1
by: Steve | last post by:
Hi all Ok then I have searched through the back postings for a while now on google and read some interesting stuff on how to model a typical client / order db however.... My problem is that I...
7
by: chrisn | last post by:
Do real developers use the design view? Thought it would be interesting to start a debate on this subject. According to all the MCP materials (yes, I know a bit mickey mouse), the design view...
0
by: ma740988 | last post by:
I inquired about utilizing a vector of pairs just yesterday and after receiving some feedback, I got to thinking my thoughts with regards to my initial 'approach' was flawed to begin with: ...
1
by: ManicQin | last post by:
hello ya'll. It's my 1st post here, so be gentle. I'm trying to build my own C++ framework (just for the fun of it), I'm happy to say that it is a great way and I really incourge people to...
0
by: Paul Hadfield | last post by:
I'm looking for thoughts on the "correct" design for this problem (DotNet 2.0 - in winforms, but that's not so important). I've got two combo boxes (combo1 and combo2), both are populating via...
0
by: =?Utf-8?B?Um9iZXJ0IENoYXBtYW4=?= | last post by:
Hi, I am designing a ASP.NET 2.0 front end for an activity based costing model and am interested in getting some general guidance on what design route to take. I can work out the specifics but...
23
by: JohnH | last post by:
I'm just recently come to work for an auto brokerage firm. My position involves performing mysterious rites, rituals and magick in order to get information out of their access database. This is...
5
by: Navodit | last post by:
Hi I have a very typical problem which I believe might be more easily solvable if it were designed better: I have 3 dropdowns: dropdown1 (State), dropdown2 (County), dropdown3 (crop). So the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.