Solved

joe celko nested set model: how to compute the lft and rgt cols

Posted on 2006-07-03
2
626 Views
Last Modified: 2008-03-03
Hi,

With reference to http://www.intelligententerprise.com/001020/celko.jhtml?_requestid=235427
I want the "sql stmt" which wud give the lft and rgt col values..

0
Comment
Question by:pai_prasad
2 Comments
 
LVL 50

Accepted Solution

by:
Lowfatspread earned 500 total points
ID: 17037750
> I want the "sql stmt" which wud give the lft and rgt col values..

for WHat?

the page actually gives examples of retrieving the common information sets..

ie who are my bosses?, who am i responsible for?

Is this a HOMEWORK question?

0
 
LVL 10

Author Comment

by:pai_prasad
ID: 17039966
my mistake ...i cudnt quite understand wats goin on in #6 ...
and the whole article is based on lft and rgt cols...so was confused how 2 derive those...
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question