Results 1 to 3 of 3

Thread: Change IN parameter in Procedure

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    2

    Change IN parameter in Procedure

    What will happen if you you change the IN parameter in a Procedure? with detailed explanation?


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Change IN parameter in Procedure

    What do you mean by change the IN parameter ?


  3. #3
    Expert Member
    Join Date
    Sep 2007
    Answers
    697

    Re: Change IN parameter in Procedure

    Here are the rules about IN parameters:

    A formal IN parameter acts like constant. It can not be assigned with new values.
    An actual IN parameter can take a value or a variable.
    An actual IN parameter is passed by reference to the specified value or the value of the specified variable.
    An actual IN parameter will not receive any value from the formal parameter.


    If you try to change in parameter value inside a procedure it will through error message
    expression 'XX' cannot be used as an assignment target


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact