字段中有ID, ParentID
用sql语句 CONNECT BY PRIOR ID = ParentID START WITH ID = 1 把rowNum拿出来就有层级关系了!
具体实现,接下来都好说了~~
字段中有ID, ParentID
用sql语句 CONNECT BY PRIOR ID = ParentID START WITH ID = 1 把rowNum拿出来就有层级关系了!
具体实现,接下来都好说了~~
This entry was posted on Wednesday, February 3rd, 2010, 7:36 pm and is filed under PHP语言学习. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Fusion theme by digitalnature | powered by WordPress
Entries (RSS) and Comments (RSS) ^
Recent Comments