Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 database design for unbalance tree
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

4 Posts

Posted - 06/16/2013 :  03:26:46  Show Profile  Reply with Quote
Hi all
I need to draw an unbalance tree on a web site page and i have to issues
first: i don't know how to save nodes values and positions in my database.
Second: how to draw it in my html web site.
Note: i can use any web programming language, i just need the way to draw .
Any reference will be so help full.

James K
Flowing Fount of Yak Knowledge

3873 Posts

Posted - 06/16/2013 :  13:00:58  Show Profile  Reply with Quote
For representing a tree in SQL Server, there are various ways - one is to use the hierarchyid data type described here: There are some examples of representing an organizational hierarchical structure (managers and subordinates) as well on one of the links from that page (although I couldn't find it right now when I searched for it).

As for representing it graphically in a web page, this is the wrong forum to ask that question. However, I would point you to HTML5 Canvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000