回复:请教数据库专家: 如何做树结构的数据库?

not an expert, but try to learn

one table, with column as ID int not null; and parent ID int ;

if a row has parent ID not null, then go find it's parent; otherwise it's a root node.

所有跟帖: 

Couple options you can take -internuts- 给 internuts 发送悄悄话 internuts 的博客首页 (964 bytes) () 10/19/2010 postreply 23:17:15

请您先登陆,再发跟帖!