Employee Hierarchical - Rolling down reporting

View previous topic View next topic Go down

Employee Hierarchical - Rolling down reporting

Post  imkoolkrab on Wed Jul 01, 2009 5:41 pm

Hi All,

I have employee table with following structure

empid
mgrid
startdate
enddate
other emp details

I have built reporting tool that lets user select date and manager and it will list all employees under that manager. i have used oracle connect by to list all employees reporting to selected manager recursively till last level. It takes too long to list. Is there anyway i can organize data that can help me speed up query?

Thank you in advance.

imkoolkrab

Posts: 1
Join date: 2009-07-01

View user profile

Back to top Go down

Re: Employee Hierarchical - Rolling down reporting

Post  ngalemmo on Thu Jul 02, 2009 9:03 am

The general solution is a hierarchy bridge table. Review this thread for more information:

http://forum.kimballgroup.com/dimensional-modeling-and-data-architecture-f6/how-to-model-product-bundles-t147.htm

Warren sums it up nicely in the last post.

ngalemmo

Posts: 1727
Join date: 2009-05-15
Location: Los Angeles

View user profile http://aginity.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum