Results 1 to 2 of 2

Thread: Invalid host/bind variable name

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    1

    Invalid host/bind variable name

    I have run a oracle procedure with dynamic query and bind variables with execute immediate and using statements. It is working in some places and not working in some other places.

    My query is

    text := 'Select FirstName from Emploee where deptcode = :AC'
    Execute immediate text using 'AC'

    Here 'AC' is the deptcode. For several places like this query working fine.
    Some other places are not working,
    it gives the error "invalid host/bind variable name"

    regds
    Sakthivel


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

    Re: Invalid host/bind variable name

    In What case it is not working....give simple example so that it is more clear to answer .


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