not able to understand that store procedure running recursively or not

  • create procedure testRecur()

    BEGIN

    if

    call testRecur();

    end if;

    select 'hi'; //This return does not execute anymore even I cant debug that procedure running

    //recursively or not END

  • Your post is very unclear. The code provided does not parse (syntax errors) and cannot be executed.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • DataAroma (6/11/2013)


    create procedure testRecur()

    BEGIN

    if

    call testRecur();

    end if;

    select 'hi'; //This return does not execute anymore even I cant debug that procedure running

    //recursively or not END

    Posted code, as it is, does not constitute a valid T-SQL code.

    Please clarify and post exactly one you are trying to execute.

    _____________________________________________
    "The only true wisdom is in knowing you know nothing"
    "O skol'ko nam otkrytiy chudnyh prevnosit microsofta duh!":-D
    (So many miracle inventions provided by MS to us...)

    How to post your question to get the best and quick help[/url]

  • DataAroma (6/11/2013)


    create procedure testRecur()

    BEGIN

    if

    call testRecur();

    end if;

    select 'hi'; //This return does not execute anymore even I cant debug that procedure running

    //recursively or not END

    Your question is unclear to us and not correct. Its not an complete code

    please refer the link below posting any question:

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    _______________________________________________________________
    To get quick answer follow this link:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

  • Ur code is unable to understand specify your doubt and use clear SQL query.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply