473,486 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Getting error message ORA-01008: not all variables bound.

3 New Member
I am new to writing SQL code not sure why I am getting this error ORA-01008: not all variables bound. If someone can look at my SQL code below and let me know what part of the code is incorrect I would really appreciate it.


SELECT O142261.HOLD, O142261.HOLD_AMOUNT, O142261.HOLD_DESC, O142261.HOLD_EXPLANATION, O142261.HOLD_FROM_DATE, O142261.HOLD_ORIGINATING_OFFICE_DESC, O142261.HOLD_TO_DATE, O219017.SPRIDEN_ID, O219017.SPRIDEN_LAST_NAME, O219017.SPRIDEN_FIRST_NAME, SYSDATE

FROM BANINST1.AS_HOLD O142261, SATURN.SPRIDEN O219017

WHERE ( ( O219017.SPRIDEN_PIDM = O142261.PERSON_UID ) ) AND ( O219017.SPRIDEN_CHANGE_IND IS NULL ) AND ( O219017.SPRIDEN_ENTITY_IND = 'P' ) AND ( O142261.HOLD = :"Type of Hold" ) AND ( O142261.HOLD_TO_DATE > :"Hold to Date" )

ORDER BY O219017.SPRIDEN_LAST_NAME ASC, O219017.SPRIDEN_FIRST_NAME ASC
;
Jan 19 '11 #1
4 3060
ck9663
2,878 Recognized Expert Specialist
What does those ":" mean? If that means not equal, use != or <> instead.

Good Luck!!!

~~ CK
Jan 19 '11 #2
gpl
152 New Member
From googling, this line is your problem
( O142261.HOLD = :"Type of Hold" ) AND ( O142261.HOLD_TO_DATE > :"Hold to Date" )

prefixing a variable with : is a 'substitution variable', which needs defining.

If you post in the Oracle forum, you are likely to get more help
Jan 19 '11 #3
Diane LaBrie
3 New Member
Yes, it means not equal. I will try the code you recommended.

Thanks,

Diane
Jan 20 '11 #4
Diane LaBrie
3 New Member
Thanks for your help. If the code does not work I will post in the Oracle forum. Appreciate your help.
Jan 20 '11 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

8
9986
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
1
1076
by: Jeff | last post by:
I am testing my ASP page and when I click on the link to open up my new asp page I get "page cannot be displayed". When another person clicks on the she gets a descriptive error message about a...
0
1393
by: daniel_xi | last post by:
Hi all, I am getting this error message when I try to open a project in Visual Studio .NET 2003. Now, this is happening only for one of my projects, the rest are fine. This particular project is...
1
19744
by: smita81 | last post by:
Hi, I have a problem while trying to login to toad. My operating system is WINDOWS XP. I have Oracle 9i at my system. I installed the Toad into the system.When I start the Toad "Toad Server...
2
1714
by: sesling | last post by:
Our Database stores event messages in a table called eventnotifications. The table has a message type column. There are two types of messages (alert or info). I have created a form that includes a...
0
2441
by: jonny | last post by:
The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. ...
3
3290
by: Sami Vaisanen | last post by:
Hello group, I'm writing a C++ based application that embeds the python engine. Now I have a problem regarding exception/error information. Is there a way to get the exception message and...
7
11856
by: rajkumarbathula | last post by:
Hi I am creating a usercontrol in .net and using that as webpart in sharepoint site. i want to make use of ajax in my user control. and hence i added scriptmanager, updatepannel and update...
10
2442
by: Anthony97 | last post by:
I get the following error message Run-time error '2455' you entered invalid reference to the property FileSearch ...
0
1094
by: Vishvesh Pai | last post by:
File "C:\Python24\Excelread.py", line 6, in -toplevel- excel = Dispatch("Excel.Application") File "C:\Python24\Lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch ...
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7126
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.