Solved

Structuring a Dropdown Menu with 14 nested levels

Posted on 2010-11-15
3
249 Views
Last Modified: 2012-06-27
I am trying to build a dropdown menu with 14+ levels in coldfusion. I was directed here for an answer. Below was the response from the expert in the coldfusion section:

"14 nested levels? Then you're asking about a db query not CF. For MS SQL, the answer
probably involves CTE's.  If you ask in the MS SQL zone, I'm someone there
could answer it."

Help plz
0
Comment
Question by:timbad2021
  • 2
3 Comments
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 34136585
If you want to get recursive values till 14 levels, then the sample code present under "D. Using a recursive common table expression to display two levels of recursion" in the below link might help:

http://msdn.microsoft.com/en-us/library/ms175972.aspx

Just change WHERE EmployeeLevel <= 2  to 14 to get nested values till 14 levels.
0
 
LVL 1

Assisted Solution

by:timbad2021
timbad2021 earned 0 total points
ID: 34137494
Found the answer:
http://dbtree.megalingo.com/
0
 
LVL 1

Author Closing Comment

by:timbad2021
ID: 34179023
Yep.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql Query 4 33
Replace Dates in query 14 38
MS SQL + Insert Into Table - If Doesnt Exist 9 32
sql 2008 how to table join 2 12
There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

808 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