Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

TSQL Challenge 52: Recursive Wage Calculation in a Parent-Child dimens

By Jacob Sebastian,

TSQL Challenge 52: Recursive Wage Calculation in a Parent-Child dimension

In a Employee Parent-Child dimension, where each employee has his own identification number and a parent number to his manager. This challenge is intended to calculate company's wage spent below a top level manager.

http://beyondrelational.com/blogs/tc/archive/2011/03/21/TSQL-Challenge-52-Recursive-Wage-Calculation-in-a-Parent-Child-dimension.aspx

Total article views: 1593 | Views in the last 30 days: 3
 
Related Articles
FORUM

Parent Child Calculations

Calculating a metric on the parent child hierarchy.

FORUM

Child and parent Relation

Child and parent Relation

FORUM

Parent-child dimension alternative

I would like to have a parent-child hierarchy alternative

FORUM

ssis traansaction managmnet between parent & child packages

Parent & Child packages use same configuration file

FORUM

Reporting Services : Parent Child Hierarchy

Parent Child Hierarchy : Problem with displaying Multiple Masters for a Child using drill down fucti...

Tags
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones