Results 1 to 3 of 3

Thread: Host variable

  1. #1
    Contributing Member
    Join Date
    Mar 2008
    Answers
    66

    Host variable

    Hi friends

    I am babi. New to this forum.
    What is the difference between host variable and bind variable?
    What is difference between & and :?

    Regards
    Babi


  2. #2
    Junior Member
    Join Date
    Feb 2008
    Answers
    15

    Re: Host variable

    &variable_name; (substitution variable)
    :variable_name; (bind variable)

    For example in a query such as:

    OPEN CURSOR (&my_var)
    OPEN CURSOR (:my_var)

    Sorry I don’t know the exact difference between Bind and Host variable,
    Usually we will use Bind variables in SQL and PL/SQL at application level, I think we can use this Host variables at Database level.
    I am not so sure about this Please Ignore it...


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    500

    Re: Host variable

    For details of host,bind varible follow this links 1 & 2


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