![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Thu, May 6 2010 6:09 AM | Permanent Link |
Surjanto Kwe PT. Usahajaya Ficooprasional | Hi, I am evaluating EDB and trying to do recursive function, but I always
got AV in doing it. CREATE FUNCTION "Rekursi" (IN "Test" INTEGER) RETURNS INTEGER BEGIN DECLARE Result, i INTEGER DEFAULT 0; if test < 5 then SET i = test + 1; SET Result = Result + Rekursi(i); end if; RETURN Result; END Regards, Surjanto |
Fri, May 7 2010 1:40 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Surjanto,
<< Hi, I am evaluating EDB and trying to do recursive function, but I always got AV in doing it. >> Hmmm, I'm seeing a different bug with 2.03 Build 13 - it doesn't allow me to define the function because it thinks that the Rekursi function doesn't exist (which it doesn't, but it should allow this). -- Tim Young Elevate Software www.elevatesoft.com |
Fri, May 7 2010 10:16 PM | Permanent Link |
Surjanto Kwe PT. Usahajaya Ficooprasional | Sorry Tim,
Forgot to mention, I trick the SQL by not mentioning the function Rekursi at creation, then alter and add it Regards, Surjanto |
Mon, May 10 2010 1:21 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Surjanto,
<< Forgot to mention, I trick the SQL by not mentioning the function Rekursi at creation, then alter and add it >> Ahh, very clever. ![]() for it in the next build, which should be available by around Friday of this week or Monday of next week. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, August 14, 2024 at 07:31 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |