Рекурсивный подсчётhttp://softtime.ru/forumРекурсивный подсчётhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=78906#post469683вот ошибка при вызове рекурсивно: Recursive stored functions and triggers are not allowed. CREATE FUNCTION `_CountComment` (_ParentId BIGINT) RETURNS INT...Рекурсивный подсчётSat, 12 Feb 2011 11:59:42 +0300serenya1983Рекурсивный подсчётhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=78906#post469679Хм... странно, вообще-то хранимые процедуры можно использовать рекурсивно.Рекурсивный подсчётSat, 12 Feb 2011 11:52:29 +0300cheopsРекурсивный подсчётhttp://softtime.ru/forum/read.php?id_forum=3&id_theme=78906#post469669Есть табица комментариев: CREATE TABLE IF NOT EXISTS `Comment` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `ParentId` int(11) NOT NULL, ......Рекурсивный подсчётSat, 12 Feb 2011 11:23:07 +0300serenya1983