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 > Database Server Software > MySQL > Database tree structure functionality

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-05-08, 12:16
Sh_oK Sh_oK is offline
Registered User
 
Join Date: Mar 2008
Posts: 1
Database tree structure functionality

I have a MySql database that calculates costs of a company using a managerial accountancy method (activity based costing).
The database uses 6 tables with information about the departments (cost centers), activity of the departments (process steps) etc. Using a few query’s one can find out which are the total costs per product.

Now, I should start to implement a functionality that must be able to arrange all departments in a hierarchy, i.e. in a tree structure, and store it in a table of the database. The task is not to program such functionality, but to research and find a software library where this problem is already solved.
If anyone has encountered this problem before or if you have some advice that could help me, I would be thankful.

Thank you!
Reply With Quote
  #2 (permalink)  
Old 03-05-08, 12:30
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
We had a short discussion on hierarchies a while back (if that's the issue).
Reply With Quote
  #3 (permalink)  
Old 03-05-08, 12:36
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
this might help: Categories and Subcategories
__________________
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