Geeks Talk

Prepare for your Next Interview




Invalid host/bind variable name

This is a discussion on Invalid host/bind variable name within the Oracle forums, part of the Databases category; 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 ...


Go Back   Geeks Talk > Databases > Oracle

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-19-2007
Junior Member
 
Join Date: Feb 2007
Location: india
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
k_sakthivel is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-20-2007
Expert Member
 
Join Date: Apr 2007
Posts: 404
Thanks: 13
Thanked 52 Times in 52 Posts
susarlasireesha is on a distinguished road
Re: Invalid host/bind variable name

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

  Geeks Talk > Databases > Oracle


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Compiling Invalid Objects krishnaindia2007 Oracle 2 10-19-2007 07:13 AM
Host vijenjoy2k2 LoadRunner 1 09-06-2007 11:29 AM
TCP/IP host address for installing Informatica Geek_Guest Data Warehousing 1 08-10-2007 09:37 AM
Normal Variable and the Comp-3 Variable in Cobol Geek_Guest MainFrame 0 07-04-2007 08:47 PM
Host username and password for Oracle 10g supremo Oracle 1 06-25-2007 01:59 AM


All times are GMT -4. The time now is 09:18 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved